TypeMaterializationInfo Construtores

Definição

Sobrecargas

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
Obsoleto.

Cria uma nova instância TypeMaterializationInfo.

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

Cria uma nova instância TypeMaterializationInfo.

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

Cria uma nova instância TypeMaterializationInfo.

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

Cria uma nova instância TypeMaterializationInfo.

TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)

Cuidado

Essa API foi preterida.

Cria uma nova instância 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)

Parâmetros

modelClrType
Type

O tipo necessário no modelo após a conversão.

property
IProperty

A propriedade associada ao tipo ou null , se nenhuma.

typeMappingSource
IRelationalTypeMappingSource

A fonte de mapeamento de tipo a ser usada para localizar um mapeamento se a propriedade ainda não tiver um associado.

index
Int32

O índice do conjunto de resultados subjacente que deve ser usado para esse tipo ou -1 se nenhum mapeamento de índice for necessário.

Atributos

Aplica-se a

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

Cria uma nova instância 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)

Parâmetros

modelClrType
Type

O tipo necessário no modelo após a conversão.

property
IProperty

A propriedade associada ao tipo ou null , se nenhuma.

mapping
RelationalTypeMapping

O mapeamento de tipo a ser usado ou null para inferir um.

nullable
Nullable<Boolean>

Um valor que indica se o valor pode ser nulo.

Aplica-se a

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

Cuidado

Essa API foi preterida.

Cria uma nova instância 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)

Parâmetros

modelClrType
Type

O tipo necessário no modelo após a conversão.

property
IProperty

A propriedade associada ao tipo ou null , se nenhuma.

typeMappingSource
IRelationalTypeMappingSource

A fonte de mapeamento de tipo a ser usada para localizar um mapeamento se a propriedade ainda não tiver um associado.

fromLeftOuterJoin
Nullable<Boolean>

Se o valor está ou não vindo de uma operação LEFT OUTER JOIN.

index
Int32

O índice do conjunto de resultados subjacente que deve ser usado para esse tipo ou -1 se nenhum mapeamento de índice for necessário.

Atributos

Aplica-se a

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

Cuidado

Essa API foi preterida.

Cria uma nova instância 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)

Parâmetros

modelClrType
Type

O tipo necessário no modelo após a conversão.

property
IProperty

A propriedade associada ao tipo ou null , se nenhuma.

typeMappingSource
IRelationalTypeMappingSource

A fonte de mapeamento de tipo a ser usada para localizar um mapeamento se a propriedade ainda não tiver um associado.

fromLeftOuterJoin
Nullable<Boolean>

Se o valor está ou não vindo de uma operação LEFT OUTER JOIN.

index
Int32

O índice do conjunto de resultados subjacente que deve ser usado para esse tipo ou -1 se nenhum mapeamento de índice for necessário.

mapping
RelationalTypeMapping

O mapeamento de tipo a ser usado ou null para inferir um.

Atributos

Aplica-se a