public ActionResult Create()
 {
     var m = new Promotion();
     DbUtil.Db.Promotions.InsertOnSubmit(m);
     DbUtil.Db.SubmitChanges();
     return Redirect("/PromotionSetup/");
 }
Beispiel #2
0
 private void detach_ToPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.ToDivision = null;
 }
Beispiel #3
0
 private void attach_FromPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.FromDivision = this;
 }
Beispiel #4
0
 private void attach_FromPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.FromDivision = this;
 }
Beispiel #5
0
 private void detach_ToPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.ToDivision = null;
 }