Example #1
0
        /****************************************************************************/
        protected Operation(Mondo.Database.Database db, string name)
        {
            this.Database = db;
            this.Name     = name;

            if (db == null)
            {
                db       = Database.Create(null);
                _dispose = true;
            }
            else
            {
                _dispose = false;
            }
        }
Example #2
0
 /****************************************************************************/
 public TextCommand(Mondo.Database.Database db, string strSQL) : base(db, strSQL)
 {
     this.Command = this.Database.MakeSelectCommand(strSQL);
 }
Example #3
0
 /****************************************************************************/
 public StoredProc(Mondo.Database.Database db, string procName) : base(db, procName)
 {
     this.Command = this.Database.MakeCommand(this);
 }