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, Func<DbDataReader,Int32[],T>)

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>)

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