Partager via


ReaderColumn Constructors

Definition

Overloads

ReaderColumn(Type, Boolean, String)
Obsolete.

Creates a new instance of the ReaderColumn class.

ReaderColumn(Type, Boolean, String, IPropertyBase)

Creates a new instance of the ReaderColumn class.

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

Creates a new instance of the ReaderColumn class.

ReaderColumn(Type, Boolean, String)

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

Caution

Use constructor which also takes IPropertyBase.

Creates a new instance of the ReaderColumn class.

protected ReaderColumn (Type type, bool nullable, string name);
[System.Obsolete("Use constructor which also takes IPropertyBase.")]
protected ReaderColumn (Type type, bool nullable, string name);
[System.Obsolete("Use constructor which also takes IPropertyBase.")]
protected ReaderColumn (Type type, bool nullable, string? name);
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn : Type * bool * string -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
[<System.Obsolete("Use constructor which also takes IPropertyBase.")>]
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn : Type * bool * string -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Protected Sub New (type As Type, nullable As Boolean, name As String)

Parameters

type
Type

The CLR type of the column.

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

Attributes

Applies to

ReaderColumn(Type, Boolean, String, IPropertyBase)

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

Creates a new instance of the ReaderColumn class.

protected ReaderColumn (Type type, bool nullable, string name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
protected ReaderColumn (Type type, bool nullable, string? name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property);
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn : Type * bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Protected Sub New (type As Type, nullable As Boolean, name As String, property As IPropertyBase)

Parameters

type
Type

The CLR type of the column.

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

property
IPropertyBase

The property being read if any, null otherwise.

Applies to

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

Source:
ReaderColumn.cs

Creates a new instance of the ReaderColumn class.

[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
protected ReaderColumn (Type type, bool nullable, string? name, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property, System.Linq.Expressions.LambdaExpression getFieldValueExpression);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
new Microsoft.EntityFrameworkCore.Storage.ReaderColumn : Type * bool * string * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * System.Linq.Expressions.LambdaExpression -> Microsoft.EntityFrameworkCore.Storage.ReaderColumn
Protected Sub New (type As Type, nullable As Boolean, name As String, property As IPropertyBase, getFieldValueExpression As LambdaExpression)

Parameters

type
Type

The CLR type of the column.

nullable
Boolean

A value indicating if the column is nullable.

name
String

The name of the column.

property
IPropertyBase

The property being read if any, null otherwise.

getFieldValueExpression
LambdaExpression

A lambda expression to get field value for the column from the reader.

Attributes

Applies to