ReaderColumn 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReaderColumn(Type, Boolean, String)
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
注意
Use constructor which also takes IPropertyBase.
创建类的新实例 ReaderColumn 。
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)
参数
- type
- Type
列的 CLR 类型。
- nullable
- Boolean
一个值,该值指示列是否可为 null。
- name
- String
列的名称。
- 特性
适用于
ReaderColumn(Type, Boolean, String, IPropertyBase)
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
创建类的新实例 ReaderColumn 。
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)
参数
- type
- Type
列的 CLR 类型。
- nullable
- Boolean
一个值,该值指示列是否可为 null。
- name
- String
列的名称。
- property
- IPropertyBase
要读取的属性(如果有)否则为 null。
适用于
ReaderColumn(Type, Boolean, String, IPropertyBase, LambdaExpression)
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
- Source:
- ReaderColumn.cs
创建类的新实例 ReaderColumn 。
[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)
参数
- type
- Type
列的 CLR 类型。
- nullable
- Boolean
一个值,该值指示列是否可为 null。
- name
- String
列的名称。
- property
- IPropertyBase
要读取的属性(如果有)否则为 null。
- getFieldValueExpression
- LambdaExpression
一个 lambda 表达式,用于从读取器中获取列的字段值。
- 特性