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