Delen via


IReadOnlyRelationalPropertyOverrides Interface

Definition

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

public interface IReadOnlyRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Infrastructure.IReadOnlyAnnotatable
type IReadOnlyRelationalPropertyOverrides = interface
    interface IReadOnlyAnnotatable
Public Interface IReadOnlyRelationalPropertyOverrides
Implements IReadOnlyAnnotatable
Derived
Implements

Remarks

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

Properties

ColumnName

Gets 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.

Item[String]

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

(Inherited from IReadOnlyAnnotatable)
Property

Gets the property that the overrides are for.

StoreObject

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

Methods

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 IReadOnlyAnnotatable)
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 IReadOnlyAnnotatable)
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.

Extension Methods

GetIdentityIncrement(IReadOnlyRelationalPropertyOverrides)

Returns the identity increment.

GetIdentitySeed(IReadOnlyRelationalPropertyOverrides)

Returns the identity seed.

GetValueGenerationStrategy(IReadOnlyRelationalPropertyOverrides)

Returns the SqlServerValueGenerationStrategy to use for the property.

Applies to