public LICSRequestArticle[] GetRequestArticles(IPluginSettings pluginSettings)
        {
            MsSqlPluginSettings settings = pluginSettings as MsSqlPluginSettings;
            //      _loger.Log("Pluging settings for SQL:");
            //     _loger.Log(settings.ToString());
            //SqlTableExplorer<LICSRequestArticle> articleExplorer = new SqlTableExplorer<LICSRequestArticle>(pluginSettings);
            SqlTableArticleExplorer articleExplorer = new SqlTableArticleExplorer(pluginSettings);

            return(articleExplorer.GetArticles());
        }
Пример #2
0
 public SqlTableWorker(IPluginSettings pluginSettings)
 {
     this._pluginSettings = pluginSettings as MsSqlPluginSettings;
 }
Пример #3
0
 public SqlTableExplorer(IPluginSettings pluginSettings)
 {
     _pluginSettings = pluginSettings as MsSqlPluginSettings;
 }
 public MainDBSettingsViewModel(MsSqlPluginSettings msSqlPluginSettings)
 {
     CurrentPluginSettings  = msSqlPluginSettings;
     _testConnectionCommand = new DbConnectionCommand(this);
     DbConnectionStatus     = _testConnectionButton;
 }
 public ICustomerDataConnector GetPrepearedDataConnector(IPluginSettings pluginSettings)
 {
     _pluginSettings  = pluginSettings as MsSqlPluginSettings;
     _exportDataToSql = new ExportDataToSQL(_pluginSettings);
     return(this);
 }