Class NpgsqlSharedTableConvention
A convention that manipulates names of database objects for entity types that share a table to avoid clashes.
Inheritance
object
NpgsqlSharedTableConvention
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlSharedTableConvention : SharedTableConvention
Constructors
| Improve this Doc View SourceNpgsqlSharedTableConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)
Creates a new instance of NpgsqlSharedTableConvention.
Declaration
public NpgsqlSharedTableConvention(ProviderConventionSetBuilderDependencies dependencies, RelationalConventionSetBuilderDependencies relationalDependencies)
Parameters
Type | Name | Description |
---|---|---|
ProviderConventionSetBuilderDependencies | dependencies | Parameter object containing dependencies for this convention. |
RelationalConventionSetBuilderDependencies | relationalDependencies | Parameter object containing relational dependencies for this convention. |
Properties
| Improve this Doc View SourceCheckConstraintsUniqueAcrossTables
Declaration
protected override bool CheckConstraintsUniqueAcrossTables { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceAreCompatible(IReadOnlyIndex, IReadOnlyIndex, in StoreObjectIdentifier)
Declaration
protected override bool AreCompatible(IReadOnlyIndex index, IReadOnlyIndex duplicateIndex, in StoreObjectIdentifier storeObject)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyIndex | index | |
IReadOnlyIndex | duplicateIndex | |
StoreObjectIdentifier | storeObject |
Returns
Type | Description |
---|---|
bool |