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