public void ExportProducts()
 {
     var query = this.mySqlContext.Products;
     foreach (var product in query)
     {
         SQLServer.Models.Product newProduct = new SQLServer.Models.Product()
         {
              BasePrice = product.BasePrice,
              MeasureId = product.MeasureId,
              VendorId = product.VendorId,
              ProductName = product.ProductName
         };
         this.sqlServerContext.Products.Add(newProduct);
     }
     this.sqlServerContext.SaveChanges();
 }
        public void ExportProducts()
        {
            var query = this.mySqlContext.Products;

            foreach (var product in query)
            {
                SQLServer.Models.Product newProduct = new SQLServer.Models.Product()
                {
                    BasePrice   = product.BasePrice,
                    MeasureId   = product.MeasureId,
                    VendorId    = product.VendorId,
                    ProductName = product.ProductName
                };
                this.sqlServerContext.Products.Add(newProduct);
            }
            this.sqlServerContext.SaveChanges();
        }