C# Class Signum.Engine.Executor

Afficher le fichier Open project: signumsoftware/framework Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

ExecuteDataSet() public static méthode

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

ExecuteDataSet() public static méthode

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

ExecuteDataTable() public static méthode

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

ExecuteDataTable() public static méthode

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

ExecuteLeaves() public static méthode

public static ExecuteLeaves ( this preCommand, CommandType commandType = CommandType.Text ) : void
preCommand this
commandType CommandType
Résultat void

ExecuteNonQuery() public static méthode

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

ExecuteNonQuery() public static méthode

public static ExecuteNonQuery ( this preCommand, CommandType commandType = CommandType.Text ) : int
preCommand this
commandType CommandType
Résultat int

ExecuteScalar() public static méthode

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

ExecuteScalar() public static méthode

public static ExecuteScalar ( this preCommand, CommandType commandType = CommandType.Text ) : object
preCommand this
commandType CommandType
Résultat object

UnsafeExecuteDataReader() public static méthode

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

UnsafeExecuteDataReader() public static méthode

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