User-1312311257 posted
David,
That's exactly what I was looking for. However, I am running into a problem when I try to develop my own dynamic data client site. I created a dynamic data web site, added a reference to my data service, copied the ModelProvider classes
from the sample, and modified globols.asax to pass the entities class from my service client to the DataServiceModelProvider constructor. The home page comes up fine, but when I click on a link to an list page, I get this error:
Unable to cast object of type 'AttendanceModel.AttendanceEntities' to type 'System.Data.Objects.ObjectContext'.
I modified the sample to use my data service, and everything worked fine. What special step did I miss in trying to reproduce the DataServiceClientSite project?
Thanks,
Dennis