RelationalPropertyExtensions.GetOrCreateOverrides 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
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier) |
Returns the property facet overrides for a particular table-like store object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetOrCreateOverrides(IMutableProperty, StoreObjectIdentifier) |
Returns the property facet overrides for a particular table-like store object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier, Boolean) |
Returns the property facet overrides for a particular table-like store object. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier)
Returns the property facet overrides for a particular table-like store object.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable GetOrCreateOverrides (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable
<Extension()>
Public Function GetOrCreateOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As IConventionAnnotatable
Parameters
- property
- IConventionProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object containing the column.
Returns
An object that stores property facet overrides.
Applies to
GetOrCreateOverrides(IMutableProperty, StoreObjectIdentifier)
Returns the property facet overrides for a particular table-like store object.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable GetOrCreateOverrides (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides GetOrCreateOverrides (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides
<Extension()>
Public Function GetOrCreateOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableAnnotatable
<Extension()>
Public Function GetOrCreateOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableRelationalPropertyOverrides
Parameters
- property
- IMutableProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object containing the column.
Returns
An object that stores property facet overrides.
Applies to
GetOrCreateOverrides(IConventionProperty, StoreObjectIdentifier, Boolean)
Returns the property facet overrides for a particular table-like store object.
This method is typically used by database providers (and other extensions). It is generally not used in application code.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides GetOrCreateOverrides (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member GetOrCreateOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier * bool -> Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides
<Extension()>
Public Function GetOrCreateOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As IConventionRelationalPropertyOverrides
Parameters
- property
- IConventionProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the table-like store object containing the column.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
An object that stores property facet overrides.
Applies to
Entity Framework