Beispiel #1
0
        private static void ColorUpdateText()
        {
            EfColorDal updateColor = new EfColorDal();

            updateColor.Update(new Color {
                ColorId = 7, ColorName = "Beige"
            });
            Console.WriteLine("Renk Güncellendi..");
            Console.ReadLine();
        }
Beispiel #2
0
        private static void ColorUpdated()
        {
            EfColorDal efColorDal = new EfColorDal();
            Color      color      = new Color()
            {
                ColorId   = 7,
                ColorName = "Mor"
            };

            efColorDal.Update(color);
        }