Esempio n. 1
0
        static void Main(string[] args)
        {
            DataFiller  dataFiller  = new WypelnianieStalymi();
            DataContext dataContext = new DataContext();

            DataRepository dataRepository = new DataRepository(dataFiller)
            {
                DataContext = dataContext
            };

            dataRepository.Fill();


            Console.ReadKey();
        }
 static void Main(string[] args)
 {
     DataContext        dataContext        = new DataContext();
     WypelnianieStalymi wypelnianieStalymi = new WypelnianieStalymi();
     DataRepository     repository         = new DataRepository(dataContext, wypelnianieStalymi);
 }