DbProviderMethods class

Provides provider-specific database access methods.

public class DbProviderMethods

Public Members

name description
static readonly Default The default database access methods.
static FromConnector(…) Provides access via connector. Used when creating wrapping connectors.
virtual BeginTransactionAsync(…) Begins a transaction asynchronously. (2 methods)
virtual CloseConnectionAsync(…) Closes a connection asynchronously.
virtual CommitTransactionAsync(…) Commits a transaction asynchronously.
virtual DisposeCommandAsync(…) Disposes a command asynchronously.
virtual DisposeConnectionAsync(…) Disposes a connection asynchronously.
virtual DisposeReaderAsync(…) Disposes a reader asynchronously.
virtual DisposeTransactionAsync(…) Disposes a transaction asynchronously.
virtual ExecuteNonQueryAsync(…) Executes a non-query command asynchronously.
virtual ExecuteReaderAsync(…) Executes a command query asynchronously. (2 methods)
virtual NextResultAsync(…) Reads the next result asynchronously.
virtual OpenConnection(…) Opens the connection.
virtual OpenConnectionAsync(…) Opens the connection asynchronously.
virtual PrepareCommandAsync(…) Prepares a command asynchronously.
virtual ReadAsync(…) Reads the next record asynchronously.
virtual RollbackTransactionAsync(…) Rolls back a transaction asynchronously.

Protected Members

name description
DbProviderMethods() Creates an instance.

See Also