Table of Contents

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
IReadOnlyAnnotatable
IAnnotatable

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 RuntimeProperty

The property for which the overrides are applied.

storeObject StoreObjectIdentifier

The store object for which the configuration is applied.

columnNameOverridden bool

Whether the column name is overridden.

columnName string

The 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

StoreObjectIdentifier

Methods

ToString()

public override string ToString()

Returns

string