public System.Data.IDataReader ExecuteReader(DataCommandDefinition command, System.Data.CommandBehavior commandBehavior) { return(Connection.ExecuteReader( new CommandDefinition(command.CommandText, command.Parameters, command.Transaction, command.CommandTimeout, command.CommandType, ToCommandFlags(command.Flags)), commandBehavior)); }
public IEnumerable <T> Query <T>(DataCommandDefinition command) { return(Connection.Query <T>( new CommandDefinition(command.CommandText, command.Parameters, command.Transaction, command.CommandTimeout, command.CommandType, ToCommandFlags(command.Flags)))); }
public T ExecuteScalar <T>(DataCommandDefinition command) { return(Connection.ExecuteScalar <T>( new CommandDefinition(command.CommandText, command.Parameters, command.Transaction, command.CommandTimeout, command.CommandType, ToCommandFlags(command.Flags)))); }