Exemple #1
0
 public static RolePermission RandomCreate()
 {
     return(new RolePermission()
     {
         Role = FactoryRole.RandomCreate(),
         Permission = FactoryPermission.RandomCreate()
     });
 }
 public static ObjectPermission RandomCreate()
 {
     return(new ObjectPermission()
     {
         Object = FactoryObject.RandomCreate(),
         Permission = FactoryPermission.RandomCreate()
     });
 }
 public static OperationPermission RandomCreate()
 {
     return(new OperationPermission()
     {
         Operation = FactoryOperation.RandomCreate(),
         Permission = FactoryPermission.RandomCreate()
     });
 }