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

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

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

            return(coll);
        }