TypeMappingInfo Struct
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.
Describes metadata needed to decide on a type mapping for a property or type.
public readonly struct TypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo>
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct TypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo>
type TypeMappingInfo = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type TypeMappingInfo = struct
Public Structure TypeMappingInfo
Implements IEquatable(Of TypeMappingInfo)
- Inheritance
-
TypeMappingInfo
- Attributes
- Implements
Remarks
See Implementation of database providers and extensions for more information and examples.
Constructors
Properties
ClrType |
The CLR type in the model. May be null if type information is conveyed via other means (e.g. the store name in a relational type mapping info) |
ElementTypeMapping |
The element type mapping of the mapping, if any. |
IsKeyOrIndex |
Indicates whether or not the mapping is part of a key or index. |
IsRowVersion |
Indicates whether or not the mapping will be used for a row version, or |
IsUnicode |
Indicates whether or not the mapping supports Unicode, or |
JsonValueReaderWriter |
The JSON reader/writer, if one has been provided, or |
Precision |
The suggested precision of the mapped data type. |
Scale |
The suggested scale of the mapped data type. |
Size |
Indicates the store-size to use for the mapping, or null if none. |
Methods
Equals(Object) |
Compares this TypeMappingInfo to another to check if they represent the same mapping. |
Equals(TypeMappingInfo) |
Compares this TypeMappingInfo to another to check if they represent the same mapping. |
GetHashCode() |
Returns a hash code for this object. |
ToString() | |
WithConverter(ValueConverterInfo) |
Returns a new TypeMappingInfo with the given converter applied. |
Operators
Equality(TypeMappingInfo, TypeMappingInfo) | |
Inequality(TypeMappingInfo, TypeMappingInfo) |
Applies to
Entity Framework