共用方式為


TypeMaterializationInfo 建構函式

定義

多載

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
已淘汰.

建立新的 TypeMaterializationInfo 執行個體。

TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)

建立新的 TypeMaterializationInfo 執行個體。

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)
已淘汰.

建立新的 TypeMaterializationInfo 執行個體。

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)
已淘汰.

建立新的 TypeMaterializationInfo 執行個體。

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)

警告

此 API 現已淘汰。

建立新的 TypeMaterializationInfo 執行個體。

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, int index = -1);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, int index = -1);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, Optional index As Integer = -1)

參數

modelClrType
Type

轉換之後模型所需的類型。

property
IProperty

與型別相關聯的屬性,如果沒有,則 null 為 。

typeMappingSource
IRelationalTypeMappingSource

如果屬性尚未系結對應,則為用來尋找對應的型別對應。

index
Int32

應該用於此類型之基礎結果集的索引,如果不需要任何索引對應,則為 -1。

屬性

適用於

TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)

建立新的 TypeMaterializationInfo 執行個體。

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping, bool? nullable = default);
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping, bool? nullable = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * Nullable<bool> -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, mapping As RelationalTypeMapping, Optional nullable As Nullable(Of Boolean) = Nothing)

參數

modelClrType
Type

轉換之後模型所需的類型。

property
IProperty

與型別相關聯的屬性,如果沒有,則 null 為 。

mapping
RelationalTypeMapping

要使用的型別對應,或 null 推斷一個類型對應。

nullable
Nullable<Boolean>

值,指出值是否可為 Null。

適用於

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)

警告

此 API 現已淘汰。

建立新的 TypeMaterializationInfo 執行個體。

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, fromLeftOuterJoin As Nullable(Of Boolean), index As Integer)

參數

modelClrType
Type

轉換之後模型所需的類型。

property
IProperty

與型別相關聯的屬性,如果沒有,則 null 為 。

typeMappingSource
IRelationalTypeMappingSource

如果屬性尚未系結對應,則為用來尋找對應的型別對應。

fromLeftOuterJoin
Nullable<Boolean>

值是否來自 LEFT OUTER JOIN 作業。

index
Int32

應該用於此類型之基礎結果集的索引,如果不需要任何索引對應,則為 -1。

屬性

適用於

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)

警告

此 API 現已淘汰。

建立新的 TypeMaterializationInfo 執行個體。

public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index = -1, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping = default);
[System.Obsolete]
public TypeMaterializationInfo (Type modelClrType, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, bool? fromLeftOuterJoin, int index = -1, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping mapping = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
[<System.Obsolete>]
new Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo : Type * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * Nullable<bool> * int * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Storage.TypeMaterializationInfo
Public Sub New (modelClrType As Type, property As IProperty, typeMappingSource As IRelationalTypeMappingSource, fromLeftOuterJoin As Nullable(Of Boolean), Optional index As Integer = -1, Optional mapping As RelationalTypeMapping = Nothing)

參數

modelClrType
Type

轉換之後模型所需的類型。

property
IProperty

與型別相關聯的屬性,如果沒有,則 null 為 。

typeMappingSource
IRelationalTypeMappingSource

如果屬性尚未系結對應,則為用來尋找對應的型別對應。

fromLeftOuterJoin
Nullable<Boolean>

值是否來自 LEFT OUTER JOIN 作業。

index
Int32

應該用於此類型之基礎結果集的索引,如果不需要任何索引對應,則為 -1。

mapping
RelationalTypeMapping

要使用的型別對應,或 null 推斷一個類型對應。

屬性

適用於