public static void AddCallingPlan(CallingPlanDto pCallingPlan) { using (var _db = new Rbr_Db()) { using (var _tx = new Transaction(_db, pCallingPlan)) { CallingPlanManager.AddCallingPlan(_db, pCallingPlan); _tx.Commit(); } } }