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