Search Results for

    Show / Hide Table of Contents

    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 Source

    NpgsqlSharedTableConvention(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 Source

    CheckConstraintsUniqueAcrossTables

    Declaration
    protected override bool CheckConstraintsUniqueAcrossTables { get; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    AreCompatible(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
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team