Compartilhar via


ReaderColumn<T> Construtores

Definição

Sobrecargas

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

Cria uma nova instância da classe ReaderColumn<T>.

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

Cria uma nova instância da classe ReaderColumn<T>.

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

Cuidado

Use constructor which also takes IPropertyBase.

Cria uma nova instância da 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))

Parâmetros

nullable
Boolean

Um valor que indica se a coluna é anulável.

name
String

O nome da coluna.

getFieldValue
Func<DbDataReader,Int32[],T>

Uma função para obter o valor do campo para a coluna do leitor.

Atributos

Aplica-se a

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

Cria uma nova instância da 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))

Parâmetros

nullable
Boolean

Um valor que indica se a coluna é anulável.

name
String

O nome da coluna.

property
IPropertyBase

A propriedade que está sendo lida se houver, nulo caso contrário.

getFieldValue
Func<DbDataReader,Int32[],T>

Uma função para obter o valor do campo para a coluna do leitor.

Aplica-se a