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

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

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

            return(coll);
        }