RelationalPropertyExtensions.FindRelationalMapping(IProperty) 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.
Caution
Use FindRelationalTypeMapping
Returns the RelationalTypeMapping for the given property on a finalized model.
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindRelationalTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use FindRelationalTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? FindRelationalMapping (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[<System.Diagnostics.DebuggerStepThrough>]
static member FindRelationalMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use FindRelationalTypeMapping")>]
static member FindRelationalMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function FindRelationalMapping (property As IProperty) As RelationalTypeMapping
Parameters
- property
- IProperty
The property.
Returns
The type mapping, or null
if none was found.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework