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