C# Class Tortuga.Chain.CommandBuilders.DbCommandBuilder

This is the non-generic version of the base class from which all other command builders are created.
Inheritance: IDbCommandBuilder
Mostrar archivo Open project: docevaad/Chain Class Usage Examples

Public Methods

Method Description
AsNonQuery ( ) : ILink

Indicates this operation has no result set.

Execute ( object state = null ) : int?

Execute the operation synchronously.

ExecuteAsync ( CancellationToken cancellationToken, object state = null ) : Task

Execute the operation asynchronously.

ExecuteAsync ( object state = null ) : Task

Execute the operation asynchronously.

TryGetColumn ( string columnName ) : ColumnMetadata

Returns the column associated with the column name.

If the column name was not found, this will return null

Method Details

AsNonQuery() public abstract method

Indicates this operation has no result set.
public abstract AsNonQuery ( ) : ILink
return ILink

Execute() public method

Execute the operation synchronously.
public Execute ( object state = null ) : int?
state object User defined state, usually used for logging.
return int?

ExecuteAsync() public method

Execute the operation asynchronously.
public ExecuteAsync ( CancellationToken cancellationToken, object state = null ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
state object User defined state, usually used for logging.
return Task

ExecuteAsync() public method

Execute the operation asynchronously.
public ExecuteAsync ( object state = null ) : Task
state object User defined state, usually used for logging.
return Task

TryGetColumn() public abstract method

Returns the column associated with the column name.
If the column name was not found, this will return null
public abstract TryGetColumn ( string columnName ) : ColumnMetadata
columnName string Name of the column.
return Tortuga.Chain.Metadata.ColumnMetadata