Esempio n. 1
0
        private static void BrandUpdateText()
        {
            EfBrandDal updateBrand = new EfBrandDal();

            updateBrand.Update(new Brand {
                BrandId = 7, BrandName = "Mercedes-Benz"
            });
            Console.WriteLine("Model Güncellendi");
            Console.ReadLine();
        }
Esempio n. 2
0
        private static void BrandUpdated()
        {
            EfBrandDal efBrandDal = new EfBrandDal();
            Brand      brand      = new Brand()
            {
                BrandId   = 5,
                BrandName = "Bmw"
            };

            efBrandDal.Update(brand);
        }