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

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

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

            return(coll);
        }