Search Results for

    Show / Hide Table of Contents

    Class NpgsqlRelationalConnection

    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.

    Inheritance
    object
    NpgsqlRelationalConnection
    Implements
    INpgsqlRelationalConnection
    IRelationalConnection
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlRelationalConnection : RelationalConnection, INpgsqlRelationalConnection, IRelationalConnection

    Constructors

    | Improve this Doc View Source

    NpgsqlRelationalConnection(RelationalConnectionDependencies)

    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.

    Declaration
    public NpgsqlRelationalConnection(RelationalConnectionDependencies dependencies)
    Parameters
    Type Name Description
    RelationalConnectionDependencies dependencies

    Properties

    | Improve this Doc View Source

    ConnectionString

    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.

    Declaration
    public override string? ConnectionString { get; set; }
    Property Value
    Type Description
    string?
    | Improve this Doc View Source

    CurrentAmbientTransaction

    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.

    Declaration
    public override Transaction? CurrentAmbientTransaction { get; }
    Property Value
    Type Description
    Transaction?
    | Improve this Doc View Source

    DbConnection

    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.

    Declaration
    public virtual NpgsqlConnection DbConnection { get; set; }
    Property Value
    Type Description
    NpgsqlConnection
    | Improve this Doc View Source

    DbDataSource

    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.

    Declaration
    public virtual DbDataSource? DbDataSource { get; set; }
    Property Value
    Type Description
    DbDataSource?
    | Improve this Doc View Source

    SupportsAmbientTransactions

    Indicates whether the store connection supports ambient transactions

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

    Methods

    | Improve this Doc View Source

    CloneWith(string)

    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.

    Declaration
    public virtual NpgsqlRelationalConnection CloneWith(string connectionString)
    Parameters
    Type Name Description
    string connectionString
    Returns
    Type Description
    NpgsqlRelationalConnection
    | Improve this Doc View Source

    CreateAdminConnection()

    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.

    Declaration
    public virtual INpgsqlRelationalConnection CreateAdminConnection()
    Returns
    Type Description
    INpgsqlRelationalConnection
    | Improve this Doc View Source

    CreateDbConnection()

    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.

    Declaration
    protected override DbConnection CreateDbConnection()
    Returns
    Type Description
    DbConnection

    Implements

    INpgsqlRelationalConnection
    IRelationalConnection
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team