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