Beispiel #1
0
 private void AddMappings(MappingSet set)
 {
     foreach (var mapping in set.Mappings)
     {
         if (mapping.FromTable == set.Database.GetNullEntityObject())
         {
             continue;
         }
         controller.AddRelationship(mapping);
     }
 }
Beispiel #2
0
 protected virtual void OnReferenceAdded(Reference reference)
 {
     schemaController.AddRelationship(reference);
     RunFilter();
     diagramController.RunLayout();
 }