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

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

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