Пример #1
0
        public SysTrinhkyCollection FetchByQuery(Query qry)
        {
            SysTrinhkyCollection coll = new SysTrinhkyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public SysTrinhkyCollection FetchAll()
        {
            SysTrinhkyCollection coll = new SysTrinhkyCollection();
            Query qry = new Query(SysTrinhky.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }