Udostępnij za pośrednictwem


ReaderColumn<T> Konstruktory

Definicja

Przeciążenia

ReaderColumn<T>(Boolean, String, Func<DbDataReader,Int32[],T>)
Przestarzałe.

Tworzy nowe wystąpienie klasy ReaderColumn<T>.

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

Tworzy nowe wystąpienie klasy ReaderColumn<T>.

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

Przestroga

Use constructor which also takes IPropertyBase.

Tworzy nowe wystąpienie klasy 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))

Parametry

nullable
Boolean

Wartość wskazująca, czy kolumna ma wartość null.

name
String

Nazwa kolumny.

getFieldValue
Func<DbDataReader,Int32[],T>

Funkcja umożliwiająca uzyskanie wartości pola dla kolumny z czytnika.

Atrybuty

Dotyczy

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

Tworzy nowe wystąpienie klasy 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))

Parametry

nullable
Boolean

Wartość wskazująca, czy kolumna ma wartość null.

name
String

Nazwa kolumny.

property
IPropertyBase

Właściwość, która jest odczytywana, jeśli istnieje, w przeciwnym razie ma wartość null.

getFieldValue
Func<DbDataReader,Int32[],T>

Funkcja umożliwiająca uzyskanie wartości pola dla kolumny z czytnika.

Dotyczy