コード例 #1
0
 public DB2Command(string commandStr, DB2Connection con) : this()
 {
     db2Conn     = con;
     commandText = commandStr;
     if (con != null)
     {
         con.AddCommand(this);
     }
 }
コード例 #2
0
		public DB2Command(string commandStr, DB2Connection con) : this()
		{
			db2Conn = con;
			commandText = commandStr;
			if(con != null)
			{
				con.AddCommand(this);
			}
		}
コード例 #3
0
 public DB2Command(string commandStr, DB2Connection con, DB2Transaction trans)
 {
     commandText = commandStr;
     db2Conn     = con;
     db2Trans    = trans;
     if (con != null)
     {
         con.AddCommand(this);
     }
 }
コード例 #4
0
		public DB2Command (string commandStr, DB2Connection con, DB2Transaction trans)
		{
			commandText = commandStr;
			db2Conn = con;
			db2Trans = trans;
			if(con != null)
			{
				con.AddCommand(this);
			}
		}