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

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

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

            return(coll);
        }