RelationalPropertyExtensions.GetRelationalTypeMapping Method
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
GetRelationalTypeMapping(IProperty) |
Returns the RelationalTypeMapping for the given property on a finalized model. |
GetRelationalTypeMapping(IReadOnlyProperty) |
Returns the RelationalTypeMapping for the given property on a finalized model. |
GetRelationalTypeMapping(IProperty)
Returns the RelationalTypeMapping for the given property on a finalized model.
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetRelationalTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRelationalTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetRelationalTypeMapping (property As IProperty) As RelationalTypeMapping
Parameters
- property
- IProperty
The property.
Returns
The type mapping.
- Attributes
Applies to
GetRelationalTypeMapping(IReadOnlyProperty)
Returns the RelationalTypeMapping for the given property on a finalized model.
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetRelationalTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRelationalTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetRelationalTypeMapping (property As IReadOnlyProperty) As RelationalTypeMapping
Parameters
- property
- IReadOnlyProperty
The property.
Returns
The type mapping.
- Attributes
Applies to
Entity Framework