Sdílet prostřednictvím


ReaderColumn<T> Konstruktory

Definice

Přetížení

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

Vytvoří novou instanci třídy ReaderColumn<T>.

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

Vytvoří novou instanci třídy ReaderColumn<T>.

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

Upozornění

Use constructor which also takes IPropertyBase.

Vytvoří novou instanci třídy 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

Hodnota označující, jestli je sloupec s možnou hodnotou null.

name
String

Název sloupce

getFieldValue
Func<DbDataReader,Int32[],T>

Funkce pro získání hodnoty pole pro sloupec od čtenáře.

Atributy

Platí pro

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

Vytvoří novou instanci třídy 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

Hodnota označující, jestli je sloupec s možnou hodnotou null.

name
String

Název sloupce

property
IPropertyBase

Vlastnost, která je čtena, pokud existuje, v opačném případě null.

getFieldValue
Func<DbDataReader,Int32[],T>

Funkce pro získání hodnoty pole pro sloupec od čtenáře.

Platí pro