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