Esempio n. 1
0
        public static void ImportCommonAssets(string INN)
        {
            CommonAssetsSQLiteDataProvider commonAssetsSQLiteDataProvider = new CommonAssetsSQLiteDataProvider();
            CommonAssetsDataProvider       commonAssetsDataProvider       = new CommonAssetsDataProvider();
            List <CommonAssets>            listToImport = commonAssetsDataProvider.Load();

            if (listToImport.Count != 0)
            {
                commonAssetsSQLiteDataProvider.ImportCommonAssets(listToImport, INN);
            }
        }
Esempio n. 2
0
 public CommonAssetsLogic(DataGridView commonAssetsGridView)
 {
     this.commonAssetsGridView = commonAssetsGridView;
     commonAssetsDataProvider  = new CommonAssetsSQLiteDataProvider();
 }