Compartir a través de


ReaderColumn.Create Method

Definition

Overloads

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

Creates an instance of ReaderColumn<T>.

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

Creates an instance of ReaderColumn<T>.

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

Creates an instance of ReaderColumn<T>.

Create(Type, Boolean, String, Object)

Source:
ReaderColumn.cs
Source:
ReaderColumn.cs
Source:
ReaderColumn.cs

Caution

Use method which also takes IPropertyBase.

Creates an instance of 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

Parameters

type
Type

The type of the column.

nullable
Boolean

Whether the column can contain null values.

columnName
String

The column name if it is used to access the column values, null otherwise.

readFunc
Object

A System.Func{DbDataReader, Int32[], T} used to get the field value for this column.

Returns

An instance of ReaderColumn<T>.

Attributes

Applies to

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

Source:
ReaderColumn.cs

Creates an instance of 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

Parameters

type
Type

The type of the column.

nullable
Boolean

Whether the column can contain null values.

columnName
String

The column name if it is used to access the column values, null otherwise.

property
IPropertyBase

The property being read if any, null otherwise.

readFunc
LambdaExpression

A System.Func{DbDataReader, Int32[], T} used to get the field value for this column.

Returns

An instance of ReaderColumn<T>.

Attributes

Applies to

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

Source:
ReaderColumn.cs
Source:
ReaderColumn.cs
Source:
ReaderColumn.cs
Source:
ReaderColumn.cs

Creates an instance of 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

Parameters

type
Type

The type of the column.

nullable
Boolean

Whether the column can contain null values.

columnName
String

The column name if it is used to access the column values, null otherwise.

property
IPropertyBase

The property being read if any, null otherwise.

readFunc
Object

A System.Func{DbDataReader, Int32[], T} used to get the field value for this column.

Returns

An instance of ReaderColumn<T>.

Applies to