public ComDataAdapter(string selectCommandText, ComConnection con) { _da = new SqlDataAdapter(selectCommandText, con.Connection); }
public DataAccess(string connstr) { this._dbconn = new ComConnection(connstr); }
private ComTransaction trans = null; ///定义事务; /// <summary> /// 构造函数 /// </summary> public DataAccess(ComConnection conn) { this._dbconn = conn; }
public ComCommand(string cmdText, ComConnection con, ComTransaction trans) { _cmd = new System.Data.OracleClient.OracleCommand(cmdText, con.Connection, trans.Transaction); }
public ComCommand(string cmdText, ComConnection con) { _cmd = new SqlCommand(cmdText, con.Connection); // _cmd.BindByName = true; }
public ComDataAdapter(string selectCommandText, ComConnection con) { _da = new System.Data.OracleClient.OracleDataAdapter(selectCommandText, con.Connection); }