Sprache

ReaderColumn.Create Methode

Definition

Überlädt

Create(Type, Boolean, String, Object)

Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs

Achtung

Use method which also takes IPropertyBase.

Erstellt eine Instanz von 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

Der Typ der Spalte.

nullable
Boolean

Gibt an, ob die Spalte Werte enthalten null kann.

columnName
String

Der Spaltenname, wenn er für den Zugriff auf die Spaltenwerte verwendet wird, null andernfalls.

readFunc
Object

Ein System.Func{DbDataReader, Int32[], T} verwendeter Wert zum Abrufen des Feldwerts für diese Spalte.

Gibt zurück

Eine Instanz von ReaderColumn<T>.

Attribute

Gilt für:

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

Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs

Erstellt eine Instanz von ReaderColumn<T>.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public static Microsoft.EntityFrameworkCore.Storage.ReaderColumn Create(Type type, bool nullable, string? columnName, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property, System.Linq.Expressions.LambdaExpression readFunc);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
static member Create : Type * bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Public Shared Function Create (type As Type, nullable As Boolean, columnName As String, property As IPropertyBase, readFunc As LambdaExpression) As ReaderColumn

Parameter

type
Type

Der Typ der Spalte.

nullable
Boolean

Gibt an, ob die Spalte Werte enthalten null kann.

columnName
String

Der Spaltenname, wenn er für den Zugriff auf die Spaltenwerte verwendet wird, null andernfalls.

property
IPropertyBase

Die Eigenschaft, die gelesen wird, wenn vorhanden, andernfalls NULL.

readFunc
LambdaExpression

Ein System.Func{DbDataReader, Int32[], T} verwendeter Wert zum Abrufen des Feldwerts für diese Spalte.

Gibt zurück

Eine Instanz von ReaderColumn<T>.

Attribute

Gilt für:

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

Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs
Quelle:
ReaderColumn.cs

Erstellt eine Instanz von 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

Der Typ der Spalte.

nullable
Boolean

Gibt an, ob die Spalte Werte enthalten null kann.

columnName
String

Der Spaltenname, wenn er für den Zugriff auf die Spaltenwerte verwendet wird, null andernfalls.

property
IPropertyBase

Die Eigenschaft, die gelesen wird, wenn vorhanden, andernfalls NULL.

readFunc
Object

Ein System.Func{DbDataReader, Int32[], T} verwendeter Wert zum Abrufen des Feldwerts für diese Spalte.

Gibt zurück

Eine Instanz von ReaderColumn<T>.

Gilt für: