public void Initialize() { _testContext = MockRepository.GenerateStub <IAppointmentDataContext>(); _testContext.Appointments = new List <Appointment>(); _testContext.AppointmentDetails = new List <AppointmentDetail>(); _appointmentProviderStrategy = new AppointmentRepositoryContext(_testContext); }
public void Initialize() { _testContext = MockRepository.GenerateStub <IAppointmentDataContext>(); ProviderContext = new AppointmentRepositoryContext(_testContext); }
public AppointmentRepository(IAppointmentDataContext context) { Context = context; }
public DailyAppointmentRepository(IAppointmentDataContext context) : base(context) { }