SnapDAL Library Documentation

DataFactory.CreateCommand Method (String)

Just create a Command from the provided sql statement(CommandType.Text), putting the existing connection on the command. The Command will be stand alone, ie it will not be added to the StatementManger or be cached in any way.

public IDbCommand CreateCommand(
   string sql
);

Parameters

sql

Return Value

Implements

IDataLayer.CreateCommand

See Also

DataFactory Class | SnapDAL Namespace | DataFactory.CreateCommand Overload List