Esempio n. 1
0
 public SqlStatement(CommandType sqlCommandType, string sqlCommandText, DataParameterCollection dpc)
     : this(sqlCommandType, sqlCommandText)
 {
     Parameters.Add(dpc);
 }
Esempio n. 2
0
 public SqlStatement(CommandType sqlCommandType, string sqlCommandText)
 {
     this.SqlCommandType = sqlCommandType;
     this.SqlCommandText = sqlCommandText;
     Parameters          = new DataParameterCollection();
 }
Esempio n. 3
0
 public SqlStatement(string sqlCommandText, DataParameterCollection dpc)
     : this(GetCommandType(sqlCommandText), sqlCommandText, dpc)
 {
 }
 public TimeConsumingSqlStatement(string sqlCommandText, DataParameterCollection dpc) : base(sqlCommandText, dpc)
 {
     InitSqlTimeOut();
 }