Пример #1
0
 public static void Insert(Entity.CustomerAddress obj)
 {
     using (var model = new Entity.SeguroEntities1())
     {
         model.Entry <Entity.CustomerAddress>(obj).State = System.Data.Entity.EntityState.Added;
         model.SaveChanges();
     }
 }
Пример #2
0
 public ActionResult Address(Entity.CustomerAddress obj)
 {
     BusinessLogic.CustomAddresManager.Insert(obj);
     return(View("Results"));
 }
Пример #3
0
 public static void Insert(Entity.CustomerAddress obj)
 {
     DataLayer.CustomerAddressData.Insert(obj);
 }
Пример #4
0
 public static void Update(Entity.CustomerAddress obj)
 {
     DataLayer.CustomerAddressData.Update(obj);
 }