Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.nameTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.mappingTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 4:
                this.tablesTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 5:
                this.addTableButton = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\..\UserControls\Mapping\Mapping.xaml"
                this.addTableButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.complexPropertiesTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
         return;
     }
     this._contentLoaded = true;
 }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tablesComboBox = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.ComboBoxEditableWhenFocused)(target));
                return;

            case 2:
                this.tableMappingTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 3:
                this.conditionsTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 4:
                this.columnConditionsGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.addColumnConditionButton = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\..\UserControls\Mapping\AssociationMapping.xaml"
                this.addColumnConditionButton.Click += new System.Windows.RoutedEventHandler(this.AddColumnConditionButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.propertiesMappingNavigationProperty1 = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.PropertiesMapping)(target));
                return;

            case 7:
                this.propertiesMappingNavigationProperty2 = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.PropertiesMapping)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tablesComboBox = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.ComboBoxEditableWhenFocused)(target));
                return;

            case 2:
                this.tableNullValues = ((System.Windows.Data.CollectionContainer)(target));
                return;

            case 3:
                this.tablesValues = ((System.Windows.Data.CollectionContainer)(target));
                return;

            case 4:
                this.hesCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.tableMappingTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 6:
                this.conditionsTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 7:
                this.columnConditionsTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 8:
                this.columnConditionsGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.addColumnConditionButton = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\..\UserControls\Mapping\EntityTableMapping.xaml"
                this.addColumnConditionButton.Click += new System.Windows.RoutedEventHandler(this.AddColumnConditionButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.propertyConditionsTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 11:
                this.propertyConditionsGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 12:
                this.addPropertyConditionButton = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\..\..\UserControls\Mapping\EntityTableMapping.xaml"
                this.addPropertyConditionButton.Click += new System.Windows.RoutedEventHandler(this.AddPropertyConditionButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.propertiesTreeViewItem = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.TreeViewItemMapping)(target));
                return;

            case 14:
                this.propertiesMappingControl = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.EntityPropertiesMapping)(target));
                return;

            case 15:
                this.complexPropertiesMappingControl = ((ICSharpCode.Data.EDMDesigner.Core.UI.UserControls.Mapping.ComplexPropertiesMapping)(target));
                return;
            }
            this._contentLoaded = true;
        }