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
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlRelationalConnection : RelationalConnection, INpgsqlRelationalConnection, IRelationalConnection
Constructors
| Improve this Doc View SourceNpgsqlRelationalConnection(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 SourceConnectionString
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? |
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? |
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 |
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? |
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 SourceCloneWith(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 |
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 |
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 |