Поделиться через


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 для вывода.

Атрибуты

Применяется к