示例#1
0
        public MainForm()
        {
            CustomProvider.Instance = this;
            InitializeComponent();

            DataAccessManager.Instance.StepChanged += StepChangedHandler;

            entityCollection = new DefinitionCollection <EntityDefinition>();

            this.attributeListView.SelectionChanged += attributeListView_SelectionChanged;
        }
 internal void Merge(DefinitionCollection <T> definitionCollection)
 {
     foreach (var def in definitionCollection.Definitions)
     {
         if (!_definitions.Contains(def))
         {
             _definitions.Add(def);
         }
         else
         {
             this[def.LogicalName].Merge(def);
         }
     }
 }