Table of Contents

Class RelationalPropertyOverrides

Namespace
Microsoft.EntityFrameworkCore.Metadata.Internal
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

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 class RelationalPropertyOverrides : ConventionAnnotatable, IMutableRelationalPropertyOverrides, IMutableAnnotatable, IConventionRelationalPropertyOverrides, IConventionAnnotatable, IRelationalPropertyOverrides, IReadOnlyRelationalPropertyOverrides, IReadOnlyAnnotatable, IAnnotatable
Inheritance
RelationalPropertyOverrides
Implements
IMutableAnnotatable
IConventionAnnotatable
IReadOnlyAnnotatable
IAnnotatable

Constructors

RelationalPropertyOverrides(IReadOnlyProperty, in StoreObjectIdentifier, ConfigurationSource)

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 RelationalPropertyOverrides(IReadOnlyProperty property, in StoreObjectIdentifier storeObject, ConfigurationSource configurationSource)

Parameters

property IReadOnlyProperty
storeObject StoreObjectIdentifier
configurationSource ConfigurationSource

Properties

Builder

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 InternalRelationalPropertyOverridesBuilder Builder { get; }

Property Value

InternalRelationalPropertyOverridesBuilder

ColumnName

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 string? ColumnName { get; set; }

Property Value

string

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

IsColumnNameOverridden

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 bool IsColumnNameOverridden { get; }

Property Value

bool

IsInModel

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 bool IsInModel { get; }

Property Value

bool

IsReadOnly

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 override bool IsReadOnly { get; }

Property Value

bool

Property

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 IReadOnlyProperty Property { get; }

Property Value

IReadOnlyProperty

StoreObject

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 StoreObjectIdentifier StoreObject { get; }

Property Value

StoreObjectIdentifier

Methods

Attach(IConventionProperty, IConventionRelationalPropertyOverrides)

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 static void Attach(IConventionProperty property, IConventionRelationalPropertyOverrides detachedOverrides)

Parameters

property IConventionProperty
detachedOverrides IConventionRelationalPropertyOverrides

Attach(IConventionProperty, IConventionRelationalPropertyOverrides, StoreObjectIdentifier)

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 static void Attach(IConventionProperty property, IConventionRelationalPropertyOverrides detachedOverrides, StoreObjectIdentifier newStoreObject)

Parameters

property IConventionProperty
detachedOverrides IConventionRelationalPropertyOverrides
newStoreObject StoreObjectIdentifier

Find(IReadOnlyProperty, in StoreObjectIdentifier)

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 static IReadOnlyRelationalPropertyOverrides? Find(IReadOnlyProperty property, in StoreObjectIdentifier storeObject)

Parameters

property IReadOnlyProperty
storeObject StoreObjectIdentifier

Returns

IReadOnlyRelationalPropertyOverrides

Get(IReadOnlyProperty)

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 static IEnumerable<IReadOnlyRelationalPropertyOverrides>? Get(IReadOnlyProperty property)

Parameters

property IReadOnlyProperty

Returns

IEnumerable<IReadOnlyRelationalPropertyOverrides>

GetColumnNameConfigurationSource()

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 ConfigurationSource? GetColumnNameConfigurationSource()

Returns

ConfigurationSource?

GetConfigurationSource()

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 ConfigurationSource GetConfigurationSource()

Returns

ConfigurationSource

GetOrCreate(IMutableProperty, in StoreObjectIdentifier, ConfigurationSource)

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 static RelationalPropertyOverrides GetOrCreate(IMutableProperty property, in StoreObjectIdentifier storeObject, ConfigurationSource configurationSource)

Parameters

property IMutableProperty
storeObject StoreObjectIdentifier
configurationSource ConfigurationSource

Returns

RelationalPropertyOverrides

MergeInto(IConventionRelationalPropertyOverrides, IConventionRelationalPropertyOverrides)

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 static RelationalPropertyOverrides MergeInto(IConventionRelationalPropertyOverrides detachedOverrides, IConventionRelationalPropertyOverrides existingOverrides)

Parameters

detachedOverrides IConventionRelationalPropertyOverrides
existingOverrides IConventionRelationalPropertyOverrides

Returns

RelationalPropertyOverrides

Remove(IMutableProperty, in StoreObjectIdentifier)

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 static RelationalPropertyOverrides? Remove(IMutableProperty property, in StoreObjectIdentifier storeObject)

Parameters

property IMutableProperty
storeObject StoreObjectIdentifier

Returns

RelationalPropertyOverrides

SetColumnName(string?, ConfigurationSource?)

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 string? SetColumnName(string? columnName, ConfigurationSource? configurationSource)

Parameters

columnName string
configurationSource ConfigurationSource

Returns

string

SetRemovedFromModel()

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 void SetRemovedFromModel()

ToString()

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 override string ToString()

Returns

string

UpdateConfigurationSource(ConfigurationSource)

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 void UpdateConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource