Class RuntimeRelationalPropertyOverrides
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents property facet overrides for a particular table-like store object.
public class RuntimeRelationalPropertyOverrides : AnnotatableBase, IRelationalPropertyOverrides, IReadOnlyRelationalPropertyOverrides, IReadOnlyAnnotatable, IAnnotatable
- Inheritance
-
RuntimeRelationalPropertyOverrides
- Implements
-
IReadOnlyAnnotatableIAnnotatable
Remarks
See Modeling entity types and relationships for more information and examples.
Constructors
RuntimeRelationalPropertyOverrides(RuntimeProperty, in StoreObjectIdentifier, bool, string?)
Initializes a new instance of the RuntimeRelationalPropertyOverrides class.
public RuntimeRelationalPropertyOverrides(RuntimeProperty property, in StoreObjectIdentifier storeObject, bool columnNameOverridden, string? columnName)
Parameters
property
RuntimePropertyThe property for which the overrides are applied.
storeObject
StoreObjectIdentifierThe store object for which the configuration is applied.
columnNameOverridden
boolWhether the column name is overridden.
columnName
stringThe column name.
Properties
DebugView
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual DebugView DebugView { get; }
Property Value
- DebugView
Property
Gets the property for which the overrides are applied.
public virtual RuntimeProperty Property { get; }
Property Value
- RuntimeProperty
StoreObject
public virtual StoreObjectIdentifier StoreObject { get; }
Property Value
Methods
ToString()
public override string ToString()