RelationalTypeMappingInfo 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 relational type mapping for a property, type, or provider-specific relational type name.
public readonly struct RelationalTypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo>
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct RelationalTypeMappingInfo : IEquatable<Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo>
type RelationalTypeMappingInfo = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type RelationalTypeMappingInfo = struct
Public Structure RelationalTypeMappingInfo
Implements IEquatable(Of RelationalTypeMappingInfo)
- Inheritance
-
RelationalTypeMappingInfo
- Attributes
- Implements
Remarks
See Implementation of database providers and extensions for more information and examples.
Constructors
Properties
ClrType |
The CLR type in the model. |
CoreTypeMappingInfo |
The core type mapping info. |
DbType |
The DbType of the mapping. |
ElementTypeMapping |
The element type of the mapping, if any. |
IsFixedLength |
Whether or not the mapped data type is fixed length. |
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 |
StoreTypeName |
The provider-specific relational type name for which mapping is needed. |
StoreTypeNameBase |
The provider-specific relational type name, with any facets removed. |
StoreTypeNameSizeIsMax |
|
Methods
Equals(Object) |
Compares this RelationalTypeMappingInfo to another to check if they represent the same mapping. |
Equals(RelationalTypeMappingInfo) |
Compares this RelationalTypeMappingInfo to another to check if they represent the same mapping. |
GetHashCode() |
Returns a hash code for this object. |
ToString() | |
WithConverter(ValueConverterInfo) |
Returns a new RelationalTypeMappingInfo with the given converter applied. |
Operators
Equality(RelationalTypeMappingInfo, RelationalTypeMappingInfo) | |
Inequality(RelationalTypeMappingInfo, RelationalTypeMappingInfo) |
Applies to
Entity Framework