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