public AttributeMapping(WriteToMSSQLConfiguration configuration, IDatastore dataObject, DbMetadataTable selectedTable)
        {
            this.dataObject    = dataObject;
            this.selectedTable = selectedTable;

            InitializeComponent();
            InitializeMappingControl(configuration.Mapping);
        }
 public ImportSettings(WriteToMSSQLConfiguration configuration)
 {
     InitializeComponent();
     this.DataContext = this.Configuration = configuration;
     AvailablePrimaryKeyAttributes = new ObservableCollection <NameDisplayName>();
     ddAvailablePrimaryKeyAttributes.ItemsSource = AvailablePrimaryKeyAttributes;
     lbSelectedPrimaryKeyAttributes.ItemsSource  = this.Configuration.PrimaryKeyFields;
 }
 public ConfigurationWindow(WriteToMSSQLConfiguration configuration, IDatastore dataObject)
 {
     InitializeComponent();
     this.dataObject    = dataObject;
     this.configuration = configuration;
 }
Ejemplo n.º 4
0
 public void SetConfiguration(ConfigurationBase configurationBase)
 {
     this.Configuration = configurationBase as WriteToMSSQLConfiguration;
 }