Condividi tramite


ReaderColumn<T> Costruttori

Definizione

Overload

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

Crea una nuova istanza della classe ReaderColumn<T>.

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

Crea una nuova istanza della classe ReaderColumn<T>.

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

Attenzione

Use constructor which also takes IPropertyBase.

Crea una nuova istanza della classe ReaderColumn<T>.

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

Parametri

nullable
Boolean

Valore che indica se la colonna è nullable.

name
String

Nome della colonna.

getFieldValue
Func<DbDataReader,Int32[],T>

Funzione per ottenere il valore del campo per la colonna dal lettore.

Attributi

Si applica a

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

Crea una nuova istanza della classe ReaderColumn<T>.

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

Parametri

nullable
Boolean

Valore che indica se la colonna è nullable.

name
String

Nome della colonna.

property
IPropertyBase

Proprietà da leggere se presente, null in caso contrario.

getFieldValue
Func<DbDataReader,Int32[],T>

Funzione per ottenere il valore del campo per la colonna dal lettore.

Si applica a