public void FetchAppointments(FetchDataEventArgs args)
 {
     using (var dbContext = new SchedulingContext()) {
         args.Result = dbContext.AppointmentEntities.Where(args.GetFetchExpression <AppointmentEntity>()).ToArray();
     }
 }
Exemplo n.º 2
0
 public void FetchAppointments(FetchDataEventArgs args)
 {
     args.Result = dbContext.AppointmentEntities.Where(args.GetFetchExpression <AppointmentEntity>()).ToArray();
 }