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

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

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

            return(coll);
        }