Share via


SqliteSharedTableConvention Class

Definition

A convention that manipulates names of database objects for entity types that share a table to avoid clashes.

public class SqliteSharedTableConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.SharedTableConvention
type SqliteSharedTableConvention = class
    inherit SharedTableConvention
Public Class SqliteSharedTableConvention
Inherits SharedTableConvention
Inheritance
SqliteSharedTableConvention

Remarks

See Model building conventions, and Accessing SQLite databases with EF Core for more information and examples.

Constructors

SqliteSharedTableConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of SqliteSharedTableConvention.

Properties

CheckConstraintsUniqueAcrossTables

Gets a value indicating whether check constraint names should be unique across tables.

Dependencies

Dependencies for this service.

(Inherited from SharedTableConvention)
ForeignKeysUniqueAcrossTables

Gets a value indicating whether foreign key names should be unique across tables.

(Inherited from SharedTableConvention)
IndexesUniqueAcrossTables

Gets a value indicating whether index names should be unique across tables.

(Inherited from SharedTableConvention)
KeysUniqueAcrossTables

Gets a value indicating whether key names should be unique across tables.

(Inherited from SharedTableConvention)
RelationalDependencies

Relational provider-specific dependencies for this service.

(Inherited from SharedTableConvention)
TriggersUniqueAcrossTables

Gets a value indicating whether trigger names should be unique across tables.

(Inherited from SharedTableConvention)

Methods

AreCompatible(IForeignKey, IForeignKey, StoreObjectIdentifier)

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IIndex, IIndex, StoreObjectIdentifier)

Gets a value indicating whether two indexes mapped to the same table index are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IKey, IKey, StoreObjectIdentifier)

Gets a value indicating whether two key mapped to the same constraint are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IReadOnlyCheckConstraint, IReadOnlyCheckConstraint, StoreObjectIdentifier)

Gets a value indicating whether two check constraints with the same name are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IReadOnlyForeignKey, IReadOnlyForeignKey, StoreObjectIdentifier)

Gets a value indicating whether two foreign keys mapped to the same foreign key constraint are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IReadOnlyIndex, IReadOnlyIndex, StoreObjectIdentifier)

Gets a value indicating whether two indexes mapped to the same table index are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IReadOnlyKey, IReadOnlyKey, StoreObjectIdentifier)

Gets a value indicating whether two key mapped to the same constraint are compatible.

(Inherited from SharedTableConvention)
AreCompatible(IReadOnlyTrigger, IReadOnlyTrigger, StoreObjectIdentifier)

Gets a value indicating whether two triggers with the same name are compatible.

(Inherited from SharedTableConvention)
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called after a model is finalized.

(Inherited from SharedTableConvention)
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

(Inherited from SharedTableConvention)

Applies to