using cs_mysql_connection.Models;
using System.IO.Packaging;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using MySqlConnector;
using Dapper;


namespace cs_mysql_connection
{

   
    public partial class MainWindow : Window

    {
        public List<Product> ProductList { get; set; }
        public MainWindow()
        {
            InitializeComponent();
            DataContext = this;
            Globals.DataProvider = new DBDataProvider();
            ProductList = (List<Product>?)Globals.DataProvider.getProduct();

        }
        static string connectionString = "Server=kolei.ru; User ID=sbahtina; Password=010906; Database=sbahtina";
    }





}