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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public SysModuloCollection FetchByID(object IdModulo)
        {
            SysModuloCollection coll = new SysModuloCollection().Where("idModulo", IdModulo).Load();

            return(coll);
        }