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