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

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

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