Esempio n. 1
0
        public SysPermisoCollection FetchByQuery(Query qry)
        {
            SysPermisoCollection coll = new SysPermisoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public SysPermisoCollection FetchAll()
        {
            SysPermisoCollection coll = new SysPermisoCollection();
            Query qry = new Query(SysPermiso.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public SysPermisoCollection FetchByID(object IdPermiso)
        {
            SysPermisoCollection coll = new SysPermisoCollection().Where("idPermiso", IdPermiso).Load();

            return(coll);
        }