Exemple #1
0
 public TestObjectClass(TestObjectClassAdmin oClass)
 {
     AssociatedPropertyDefs = new TestAssociatedPropertyDefs();
     foreach (AssociatedPropertyDef associatedPropertyDef in oClass.AssociatedPropertyDefs)
     {
         AssociatedPropertyDefs.Add(-1, associatedPropertyDef);
     }
     AutomaticPermissionsForObjects = oClass.AutomaticPermissionsForObjects;
     ForceWorkflow   = oClass.ForceWorkflow;
     ID              = oClass.ID;
     Name            = oClass.Name;
     NamePropertyDef = oClass.NamePropertyDef;
     ObjectType      = oClass.ObjectType;
     Workflow        = oClass.Workflow;
 }
Exemple #2
0
 public TestObjectClassAdmin()
 {
     TestAssociatedPropertyDefs  = new TestAssociatedPropertyDefs();
     this.AssociatedPropertyDefs = new AssociatedPropertyDefs();
 }