RelationalPropertyExtensions.RemoveOverrides Method
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.
RemoveOverrides(IConventionProperty, StoreObjectIdentifier) |
Removes 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. |
RemoveOverrides(IMutableProperty, StoreObjectIdentifier) |
Removes 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. |
Removes 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? RemoveOverrides (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveOverrides : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides
<Extension()>
Public Function RemoveOverrides (property As IConventionProperty, ByRef storeObject As StoreObjectIdentifier) As IConventionRelationalPropertyOverrides
Parameters
- property
- IConventionProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
The removed IConventionRelationalPropertyOverrides or null
if no overrides for the given store object were found or the existing overrides were configured from a higher source.
Applies to
Entity Framework Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Removes 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.IMutableRelationalPropertyOverrides? RemoveOverrides (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member RemoveOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides
<Extension()>
Public Function RemoveOverrides (property As IMutableProperty, ByRef storeObject As StoreObjectIdentifier) As IMutableRelationalPropertyOverrides
Parameters
- property
- IMutableProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of a table-like store object.
Returns
The removed IMutableRelationalPropertyOverrides or null
if no overrides for the given store object were found.
Applies to
Entity Framework Core 9.0 och andra versioner
Produkt | Versioner |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Feedback om Entity Framework
Entity Framework är ett öppen källkod projekt. Välj en länk för att ge feedback: