TypeMaterializationInfo Class

Definition

Associates a RelationalTypeMapping with an optional IProperty and an index into the data reader for use when reading and converting values from the database.

public class TypeMaterializationInfo
type TypeMaterializationInfo = class
Public Class TypeMaterializationInfo
Inheritance
TypeMaterializationInfo

Remarks

See Implementation of database providers and extensions for more information and examples.

Constructors

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

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, RelationalTypeMapping, Nullable<Boolean>)

Creates a new TypeMaterializationInfo instance.

Properties

Index
Obsolete.

The index of the underlying result set that should be used for this type, or -1 if no index mapping is needed.

IsFromLeftOuterJoin
Obsolete.

Whether or not the value is coming from a LEFT OUTER JOIN operation.

IsNullable

Whether or not the value can be null.

Mapping

The type mapping for the value to be read.

ModelClrType

The type that is needed in the model after conversion.

Property

The property associated with the type, or null if none.

ProviderClrType

The type that will be read from the database provider.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TypeMaterializationInfo)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Applies to