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

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

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