public TTongChiphiCollection FetchByQuery(Query qry)
        {
            TTongChiphiCollection coll = new TTongChiphiCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
 public TTongChiphiCollection FetchAll()
 {
     TTongChiphiCollection coll = new TTongChiphiCollection();
     Query qry = new Query(TTongChiphi.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
        public TTongChiphiCollection FetchAll()
        {
            TTongChiphiCollection coll = new TTongChiphiCollection();
            Query qry = new Query(TTongChiphi.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public TTongChiphiCollection FetchByID(object Id)
        {
            TTongChiphiCollection coll = new TTongChiphiCollection().Where("Id", Id).Load();

            return(coll);
        }
Esempio n. 5
0
 public TTongChiphiCollection FetchByQuery(Query qry)
 {
     TTongChiphiCollection coll = new TTongChiphiCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Esempio n. 6
0
 public TTongChiphiCollection FetchByID(object Id)
 {
     TTongChiphiCollection coll = new TTongChiphiCollection().Where("Id", Id).Load();
     return coll;
 }