Example #1
0
        public CommitteeLibCollection FetchByQuery(Query qry)
        {
            CommitteeLibCollection coll = new CommitteeLibCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public CommitteeLibCollection FetchAll()
        {
            CommitteeLibCollection coll = new CommitteeLibCollection();
            Query qry = new Query(CommitteeLib.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public CommitteeLibCollection FetchByID(object Id)
        {
            CommitteeLibCollection coll = new CommitteeLibCollection().Where("ID", Id).Load();

            return(coll);
        }