TypeMaterializationInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32) |
Obsolete.
Creates a new TypeMaterializationInfo instance. |
TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>) |
Creates a new TypeMaterializationInfo instance. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32) |
Obsolete.
Creates a new TypeMaterializationInfo instance. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping) |
Obsolete.
Creates a new TypeMaterializationInfo instance. |
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Int32)
Caution
This API is now deprecated.
Creates a new TypeMaterializationInfo instance.
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)
Parameters
- modelClrType
- Type
The type that is needed in the model after conversion.
- property
- IProperty
The property associated with the type, or null
if none.
- typeMappingSource
- IRelationalTypeMappingSource
The type mapping source to use to find a mapping if the property does not have one already bound.
- index
- Int32
The index of the underlying result set that should be used for this type, or -1 if no index mapping is needed.
- Attributes
Applies to
TypeMaterializationInfo(Type, IProperty, RelationalTypeMapping, Nullable<Boolean>)
Creates a new TypeMaterializationInfo instance.
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)
Parameters
- modelClrType
- Type
The type that is needed in the model after conversion.
- property
- IProperty
The property associated with the type, or null
if none.
- mapping
- RelationalTypeMapping
The type mapping to use or null
to infer one.
Applies to
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32)
Caution
This API is now deprecated.
Creates a new TypeMaterializationInfo instance.
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)
Parameters
- modelClrType
- Type
The type that is needed in the model after conversion.
- property
- IProperty
The property associated with the type, or null
if none.
- typeMappingSource
- IRelationalTypeMappingSource
The type mapping source to use to find a mapping if the property does not have one already bound.
Whether or not the value is coming from a LEFT OUTER JOIN operation.
- index
- Int32
The index of the underlying result set that should be used for this type, or -1 if no index mapping is needed.
- Attributes
Applies to
TypeMaterializationInfo(Type, IProperty, IRelationalTypeMappingSource, Nullable<Boolean>, Int32, RelationalTypeMapping)
Caution
This API is now deprecated.
Creates a new TypeMaterializationInfo instance.
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)
Parameters
- modelClrType
- Type
The type that is needed in the model after conversion.
- property
- IProperty
The property associated with the type, or null
if none.
- typeMappingSource
- IRelationalTypeMappingSource
The type mapping source to use to find a mapping if the property does not have one already bound.
Whether or not the value is coming from a LEFT OUTER JOIN operation.
- index
- Int32
The index of the underlying result set that should be used for this type, or -1 if no index mapping is needed.
- mapping
- RelationalTypeMapping
The type mapping to use or null
to infer one.
- Attributes
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for