예제 #1
0
 public static void Delete(iPolicyDiscountData discountPolicy, bool propogate = false)
 {
     lock (Lock)
     {
         context.discountPolicies.Remove(discountPolicy);
         context.SaveChanges();
     }
 }
예제 #2
0
 public static void update(iPolicyDiscountData discountPolicy)
 {
     lock (Lock)
     {
         context.discountPolicies.Update(discountPolicy);
         context.SaveChanges();
     }
 }
예제 #3
0
 public iPolicyDiscount(iPolicyDiscountData ipd)
 {
     //todo
 }