C# Class Signum.Engine.Executor

Mostra file Open project: signumsoftware/framework Class Usage Examples

Public Methods

Method Description
BulkCopy ( DataTable dt, ObjectName destinationTable, SqlBulkCopyOptions options, int timeout ) : void
ExecuteDataSet ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : DataSet
ExecuteDataSet ( this preCommand, CommandType commandType = CommandType.Text ) : DataSet
ExecuteDataTable ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : DataTable
ExecuteDataTable ( this preCommand, CommandType commandType = CommandType.Text ) : DataTable
ExecuteLeaves ( this preCommand, CommandType commandType = CommandType.Text ) : void
ExecuteNonQuery ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : int
ExecuteNonQuery ( this preCommand, CommandType commandType = CommandType.Text ) : int
ExecuteScalar ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : object
ExecuteScalar ( this preCommand, CommandType commandType = CommandType.Text ) : object
UnsafeExecuteDataReader ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : System.Data.Common.DbDataReader
UnsafeExecuteDataReader ( this preCommand, CommandType commandType = CommandType.Text ) : System.Data.Common.DbDataReader

Method Details

BulkCopy() public static method

public static BulkCopy ( DataTable dt, ObjectName destinationTable, SqlBulkCopyOptions options, int timeout ) : void
dt System.Data.DataTable
destinationTable ObjectName
options SqlBulkCopyOptions
timeout int
return void

ExecuteDataSet() public static method

public static ExecuteDataSet ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : DataSet
sql string
parameters List
commandType CommandType
return System.Data.DataSet

ExecuteDataSet() public static method

public static ExecuteDataSet ( this preCommand, CommandType commandType = CommandType.Text ) : DataSet
preCommand this
commandType CommandType
return System.Data.DataSet

ExecuteDataTable() public static method

public static ExecuteDataTable ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : DataTable
sql string
parameters List
commandType CommandType
return System.Data.DataTable

ExecuteDataTable() public static method

public static ExecuteDataTable ( this preCommand, CommandType commandType = CommandType.Text ) : DataTable
preCommand this
commandType CommandType
return System.Data.DataTable

ExecuteLeaves() public static method

public static ExecuteLeaves ( this preCommand, CommandType commandType = CommandType.Text ) : void
preCommand this
commandType CommandType
return void

ExecuteNonQuery() public static method

public static ExecuteNonQuery ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : int
sql string
parameters List
commandType CommandType
return int

ExecuteNonQuery() public static method

public static ExecuteNonQuery ( this preCommand, CommandType commandType = CommandType.Text ) : int
preCommand this
commandType CommandType
return int

ExecuteScalar() public static method

public static ExecuteScalar ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : object
sql string
parameters List
commandType CommandType
return object

ExecuteScalar() public static method

public static ExecuteScalar ( this preCommand, CommandType commandType = CommandType.Text ) : object
preCommand this
commandType CommandType
return object

UnsafeExecuteDataReader() public static method

public static UnsafeExecuteDataReader ( string sql, List parameters = null, CommandType commandType = CommandType.Text ) : System.Data.Common.DbDataReader
sql string
parameters List
commandType CommandType
return System.Data.Common.DbDataReader

UnsafeExecuteDataReader() public static method

public static UnsafeExecuteDataReader ( this preCommand, CommandType commandType = CommandType.Text ) : System.Data.Common.DbDataReader
preCommand this
commandType CommandType
return System.Data.Common.DbDataReader