public UnitOfWork(ChurchManagerEntities context) { //if (this.context == null) //{ // //this.context = new ChurchManagerEntities(); // this.context = context; //} this.context = new ChurchManagerEntities(); }
public SQLQueryRepository(ChurchManagerEntities context) { this.context = context; }
public ComputeDonationsForADonor(ChurchManagerEntities context, int donationDonorEntityID, int year) { this.context = context; BuildDonationsMonthlySummaryForADonor(donationDonorEntityID, year); }