Interface IReadOnlyRelationalPropertyOverrides
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents property facet overrides for a particular table-like store object.
public interface IReadOnlyRelationalPropertyOverrides : IReadOnlyAnnotatable
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.
string? ColumnName { get; }
Property Value
IsColumnNameOverridden
Gets a value indicating whether the column name is overriden.
bool IsColumnNameOverridden { get; }
Property Value
Property
Gets the property that the overrides are for.
IReadOnlyProperty Property { get; }
Property Value
- IReadOnlyProperty
StoreObject
The id of the table-like store object that these overrides are for.
StoreObjectIdentifier StoreObject { get; }
Property Value
Methods
ToDebugString(MetadataDebugStringOptions, int)
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.
string ToDebugString(MetadataDebugStringOptions options = 0, int indent = 0)
Parameters
options
MetadataDebugStringOptionsOptions for generating the string.
indent
intThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.