ReaderColumn.Create Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Create(Type, Boolean, String, Object) |
Kullanımdan kalktı.
Örneği oluşturur ReaderColumn<T> . |
| Create(Type, Boolean, String, IPropertyBase, Object) |
Örneği oluşturur ReaderColumn<T> . |
Create(Type, Boolean, String, Object)
Dikkat
Use method which also takes IPropertyBase.
Örneği oluşturur 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
Parametreler
- type
- Type
Sütunun türü.
- nullable
- Boolean
Sütunun null değer içerip içeremeyeceğini gösterir.
- columnName
- String
Sütun değerlerine erişmek için kullanılırsa sütun adı, null Aksi durumda.
- readFunc
- Object
System.Func{DbDataReader, Int32[], T}Bu sütun için alan değerini almak üzere kullanılır.
Döndürülenler
ReaderColumn<T> öğesinin bir örneği.
- Öznitelikler
Şunlara uygulanır
Create(Type, Boolean, String, IPropertyBase, Object)
Örneği oluşturur 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
Parametreler
- type
- Type
Sütunun türü.
- nullable
- Boolean
Sütunun null değer içerip içeremeyeceğini gösterir.
- columnName
- String
Sütun değerlerine erişmek için kullanılırsa sütun adı, null Aksi durumda.
- property
- IPropertyBase
Varsa okunan özellik, aksi takdirde null.
- readFunc
- Object
System.Func{DbDataReader, Int32[], T}Bu sütun için alan değerini almak üzere kullanılır.
Döndürülenler
ReaderColumn<T> öğesinin bir örneği.