views:

167

answers:

0

Hi,

I have an entity model, in which I have a table per type inheritance. There are 3 types, first, Contact, which I defined as abstract in my EF model and the rest are Company and person types which are derived from contact type. I was trying to insert a person record via the ado.net dataservices and ended up getting the following error message.

Error processing request stream. Type information must be specified for types that take part in inheritance.

I am using ado.net dataservice and asp.net ajax library.

This is how I performed insert from the client:

dataContext.insertEntity(person, "Contacts");

Thanks.