Interface IAsyncDbConnection
Assembly: LemonEdge.DataAccess.Core.dll
Syntax
public interface IAsyncDbConnection : IDbConnection, IDisposable, IAsyncDisposable
Methods
BeginTransactionAsync(IsolationLevel, CancellationToken)
Declaration
Task<IDbTransaction> BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken token = default)
Parameters
Returns
BeginTransactionAsync(CancellationToken)
Declaration
Task<IDbTransaction> BeginTransactionAsync(CancellationToken token = default)
Parameters
Returns
ChangeDatabaseAsync(string, CancellationToken)
Declaration
Task ChangeDatabaseAsync(string databaseName, CancellationToken token = default)
Parameters
Returns
CloseAsync()
Declaration
Returns
GetSchemaAsync(string, string?[], CancellationToken)
Returns schema information for the data source of this IDbConnection using the specified string for the schema name and restriction values.
Declaration
Task<DataTable> GetSchemaAsync(string collectionName, string?[] restrictionValues, CancellationToken token = default)
Parameters
Returns
GetSchemaAsync(string, CancellationToken)
Returns schema information for the data source of this IDbConnection using the specified string for the schema name.
Declaration
Task<DataTable> GetSchemaAsync(string collectionName, CancellationToken token = default)
Parameters
Returns
GetSchemaAsync(CancellationToken)
Returns schema information for the data source of this IDbConnection
Declaration
Task<DataTable> GetSchemaAsync(CancellationToken token = default)
Parameters
Returns
OpenAsync(CancellationToken)
An asynchronous version of Open()
Declaration
Task OpenAsync(CancellationToken token = default)
Parameters
Returns
Extension Methods