RelationalPropertyExtensions.RemoveOverrides Method

Definition

Overloads

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.

RemoveOverrides(IConventionProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides? RemoveOverrides (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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

RemoveOverrides(IMutableProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides? RemoveOverrides (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

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