Delen via


IMutableRelationalPropertyOverrides Interface

Definition

Represents property facet overrides for a particular table-like store object.

public interface IMutableRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyRelationalPropertyOverrides
type IMutableRelationalPropertyOverrides = interface
    interface IReadOnlyRelationalPropertyOverrides
    interface IReadOnlyAnnotatable
    interface IMutableAnnotatable
Public Interface IMutableRelationalPropertyOverrides
Implements IMutableAnnotatable, IReadOnlyRelationalPropertyOverrides
Implements

Remarks

See Modeling entity types and relationships for more information and examples.

Properties

ColumnName

Gets or sets the column that the property maps to when targeting the specified table-like store object.

IsColumnNameOverridden

Gets a value indicating whether the column name is overriden.

(Inherited from IReadOnlyRelationalPropertyOverrides)
Item[String]

Gets or sets the value of the annotation with the given name.

(Inherited from IMutableAnnotatable)
Property

Gets the property that the overrides are for.

StoreObject

The id of the table-like store object that these overrides are for.

(Inherited from IReadOnlyRelationalPropertyOverrides)

Methods

AddAnnotation(String, Object)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from IMutableAnnotatable)
AddAnnotations(IEnumerable<IAnnotation>)

Adds annotations to an object.

(Inherited from IMutableAnnotatable)
AnnotationsToDebugString(Int32)

Gets the debug string for all annotations declared on the object.

(Inherited from IReadOnlyAnnotatable)
FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IMutableAnnotatable)
GetAnnotation(String)

Gets the annotation with the given name, throwing if it does not exist.

(Inherited from IReadOnlyAnnotatable)
GetAnnotations()

Gets all annotations on the current object.

(Inherited from IMutableAnnotatable)
RemoveAnnotation(String)

Removes the given annotation from this object.

(Inherited from IMutableAnnotatable)
RemoveColumnNameOverride()

Removes the column name override.

SetAnnotation(String, Object)

Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists.

(Inherited from IMutableAnnotatable)
SetOrRemoveAnnotation(String, Object)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists. Removes the existing annotation if null is supplied.

(Inherited from IMutableAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

(Inherited from IReadOnlyRelationalPropertyOverrides)

Extension Methods

GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)

Returns the identity increment.

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

Returns the identity seed.

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

Returns the SqlServerValueGenerationStrategy to use for the property.

SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>)

Sets the identity increment for a particular table.

SetIdentitySeed(IMutableRelationalPropertyOverrides, Nullable<Int64>)

Sets the identity seed for a particular table.

SetValueGenerationStrategy(IMutableRelationalPropertyOverrides, Nullable<SqlServerValueGenerationStrategy>)

Sets the SqlServerValueGenerationStrategy to use for the property for a particular table.

Applies to