Share via


ReaderColumn<T> Constructors

Definition

Overloads

ReaderColumn<T>(Boolean, String, Func<DbDataReader,Int32[],T>)
Obsolete.

Creates a new instance of the ReaderColumn<T> class.

ReaderColumn<T>(Boolean, String, IPropertyBase, Func<DbDataReader,Int32[],T>)

Creates a new instance of the ReaderColumn<T> class.

ReaderColumn<T>(Boolean, String, IPropertyBase, Expression<Func<DbDataReader,Int32[],T>>)

Creates a new instance of the ReaderColumn<T> class.

ReaderColumn<T>(Boolean, String, Func<DbDataReader,Int32[],T>)

Source:
ReaderColumn%60.cs
Source:
ReaderColumn%60.cs
Source:
ReaderColumn%60.cs

Caution

Use constructor which also takes IPropertyBase.

Creates a new instance of the ReaderColumn<T> class.

public ReaderColumn (bool nullable, string name, Func<System.Data.Common.DbDataReader,int[],T> getFieldValue);
[System.Obsolete("Use constructor which also takes IPropertyBase.")]
public ReaderColumn (bool nullable, string name, Func<System.Data.Common.DbDataReader,int[],T> getFieldValue);
[System.Obsolete("Use constructor which also takes IPropertyBase.")]
public ReaderColumn (bool nullable, string? name, Func<System.Data.Common.DbDataReader,int[],T> getFieldValue);
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T> : bool * string * Func<System.Data.Common.DbDataReader, int[], 'T> -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T>
[<System.Obsolete("Use constructor which also takes IPropertyBase.")>]
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T> : bool * string * Func<System.Data.Common.DbDataReader, int[], 'T> -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T>
Public Sub New (nullable As Boolean, name As String, getFieldValue As Func(Of DbDataReader, Integer(), T))

Parameters

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

getFieldValue
Func<DbDataReader,Int32[],T>

A function to get field value for the column from the reader.

Attributes

Applies to

ReaderColumn<T>(Boolean, String, IPropertyBase, Func<DbDataReader,Int32[],T>)

Source:
ReaderColumn%60.cs
Source:
ReaderColumn%60.cs
Source:
ReaderColumn%60.cs
Source:
ReaderColumn%60.cs

Creates a new instance of the ReaderColumn<T> class.

public ReaderColumn (bool nullable, string name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property, Func<System.Data.Common.DbDataReader,int[],T> getFieldValue);
public ReaderColumn (bool nullable, string? name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property, Func<System.Data.Common.DbDataReader,int[],T> getFieldValue);
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T> : bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * Func<System.Data.Common.DbDataReader, int[], 'T> -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T>
Public Sub New (nullable As Boolean, name As String, property As IPropertyBase, getFieldValue As Func(Of DbDataReader, Integer(), T))

Parameters

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

property
IPropertyBase

The property being read if any, null otherwise.

getFieldValue
Func<DbDataReader,Int32[],T>

A function to get field value for the column from the reader.

Applies to

ReaderColumn<T>(Boolean, String, IPropertyBase, Expression<Func<DbDataReader,Int32[],T>>)

Source:
ReaderColumn%60.cs

Creates a new instance of the ReaderColumn<T> class.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public ReaderColumn (bool nullable, string? name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property, System.Linq.Expressions.Expression<Func<System.Data.Common.DbDataReader,int[],T>> getFieldValueExpression);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T> : bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * System.Linq.Expressions.Expression<Func<System.Data.Common.DbDataReader, int[], 'T>> -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn<'T>
Public Sub New (nullable As Boolean, name As String, property As IPropertyBase, getFieldValueExpression As Expression(Of Func(Of DbDataReader, Integer(), T)))

Parameters

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

property
IPropertyBase

The property being read if any, null otherwise.

getFieldValueExpression
Expression<Func<DbDataReader,Int32[],T>>

A lambda expression to get field value for the column from the reader.

Attributes

Applies to