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