public TTongChiphiCollection FetchByQuery(Query qry) { TTongChiphiCollection coll = new TTongChiphiCollection(); 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 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); }
public TTongChiphiCollection FetchByQuery(Query qry) { TTongChiphiCollection coll = new TTongChiphiCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TTongChiphiCollection FetchByID(object Id) { TTongChiphiCollection coll = new TTongChiphiCollection().Where("Id", Id).Load(); return coll; }