コード例 #1
0
        public SysPermisoCollection FetchByQuery(Query qry)
        {
            SysPermisoCollection coll = new SysPermisoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public SysPermisoCollection FetchAll()
        {
            SysPermisoCollection coll = new SysPermisoCollection();
            Query qry = new Query(SysPermiso.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public SysPermisoCollection FetchByID(object IdPermiso)
        {
            SysPermisoCollection coll = new SysPermisoCollection().Where("idPermiso", IdPermiso).Load();

            return(coll);
        }