Class SqlRedbContext

Namespace: redb.MSSql.Data
Assembly: redb.MSSql.dll

MS SQL Server implementation of REDB context.
Assembles all SQL Server components into single facade.

public class SqlRedbContext : RedbContextBase, IRedbContext, IAsyncDisposable, IDisposable

Inheritance

ObjectRedbContextBaseSqlRedbContext

Implements

Inherited Members

Properties

Bulk

Bulk operations (SqlBulkCopy).

public override IBulkOperations Bulk { get; }

ConnectionString

Connection string (for direct access if needed).

public string ConnectionString { get; }

Db

Database connection.

public override IRedbConnection Db { get; }

Keys

Key generator with caching.

public override IKeyGenerator Keys { get; }

Methods

DisposeAsync()

Dispose context and all components.

public override ValueTask DisposeAsync()

Constructors

SqlRedbContext(string)

Create SQL Server context from connection string.