public KcbLoghuyCollection FetchByQuery(Query qry) { KcbLoghuyCollection coll = new KcbLoghuyCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbLoghuyCollection FetchAll() { KcbLoghuyCollection coll = new KcbLoghuyCollection(); Query qry = new Query(KcbLoghuy.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public KcbLoghuyCollection FetchByID(object Id) { KcbLoghuyCollection coll = new KcbLoghuyCollection().Where("Id", Id).Load(); return(coll); }