예제 #1
0
        public PFamilyCollection FetchByQuery(Query qry)
        {
            PFamilyCollection coll = new PFamilyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PFamilyCollection FetchAll()
        {
            PFamilyCollection coll = new PFamilyCollection();
            Query             qry  = new Query(PFamily.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public PFamilyCollection FetchByID(object FamRecID)
        {
            PFamilyCollection coll = new PFamilyCollection().Where("FamRecID", FamRecID).Load();

            return(coll);
        }