Bagikan melalui


ReaderColumn.Create Metode

Definisi

Overload

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

Membuat instans ReaderColumn<T>.

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

Membuat instans ReaderColumn<T>.

Create(Type, Boolean, String, Object)

Perhatian

Use method which also takes IPropertyBase.

Membuat instans 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

Parameter

type
Type

Jenis kolom.

nullable
Boolean

Apakah kolom dapat berisi null nilai.

columnName
String

Nama kolom jika digunakan untuk mengakses nilai kolom, null jika tidak.

readFunc
Object

digunakan System.Func{DbDataReader, Int32[], T} untuk mendapatkan nilai bidang untuk kolom ini.

Mengembalikan

Instans ReaderColumn<T>.

Atribut

Berlaku untuk

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

Membuat instans 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

Parameter

type
Type

Jenis kolom.

nullable
Boolean

Apakah kolom dapat berisi null nilai.

columnName
String

Nama kolom jika digunakan untuk mengakses nilai kolom, null jika tidak.

property
IPropertyBase

Properti sedang dibaca jika ada, null sebaliknya.

readFunc
Object

digunakan System.Func{DbDataReader, Int32[], T} untuk mendapatkan nilai bidang untuk kolom ini.

Mengembalikan

Instans ReaderColumn<T>.

Berlaku untuk