ReaderColumn.Create Método

Definición

Sobrecargas

Create(Type, Boolean, String, Object)
Obsoletos.

Crea una instancia de ReaderColumn<T>.

Create(Type, Boolean, String, IPropertyBase, Object)

Crea una instancia de ReaderColumn<T>.

Create(Type, Boolean, String, Object)

Precaución

Use method which also takes IPropertyBase.

Crea una instancia de ReaderColumn<T>.

public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create (Type type, bool nullable, string columnName, object readFunc);
[System.Obsolete("Use method which also takes IPropertyBase.")]
public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create (Type type, bool nullable, string columnName, object readFunc);
[System.Obsolete("Use method which also takes IPropertyBase.")]
public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create (Type type, bool nullable, string? columnName, object readFunc);
static member Create : Type * bool * string * obj -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
[<System.Obsolete("Use method which also takes IPropertyBase.")>]
static member Create : Type * bool * string * obj -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Public Shared Function Create (type As Type, nullable As Boolean, columnName As String, readFunc As Object) As ReaderColumn

Parámetros

type
Type

El tipo de la columna.

nullable
Boolean

Si la columna puede contener valores null.

columnName
String

Nombre de columna si se usa para tener acceso a los valores de columna; de lo contrario, null .

readFunc
Object

System.Func{DbDataReader, Int32[], T} que se usa para obtener el valor de campo de esta columna.

Devoluciones

Instancia de ReaderColumn<T>.

Atributos

Se aplica a

Create(Type, Boolean, String, IPropertyBase, Object)

Crea una instancia de ReaderColumn<T>.

public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create (Type type, bool nullable, string columnName, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property, object readFunc);
public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create (Type type, bool nullable, string? columnName, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property, object readFunc);
static member Create : Type * bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * obj -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Public Shared Function Create (type As Type, nullable As Boolean, columnName As String, property As IPropertyBase, readFunc As Object) As ReaderColumn

Parámetros

type
Type

El tipo de la columna.

nullable
Boolean

Si la columna puede contener valores null.

columnName
String

Nombre de columna si se usa para tener acceso a los valores de columna; de lo contrario, null .

property
IPropertyBase

La propiedad que se lee si existe, null de lo contrario.

readFunc
Object

System.Func{DbDataReader, Int32[], T} que se usa para obtener el valor de campo de esta columna.

Devoluciones

Instancia de ReaderColumn<T>.

Se aplica a