This question is locked. New answers and comments are not allowed.
I have a domain model that I access using the DataManager (generated by DSW) and I have several working entities. One entity that I've recently added throws an exception on the following call:
I'm using a similar pattern for other entities, so I'm sure it's not that, and I have updated the related tables from the database, but still get a MetadataException with the message "Failed to create ref and poly ref fields of class". I can't find a reference to this message anywhere. What does it mean and how can I fix it?
var context =
new
DataManager(
new
MyDataModel());
var myEntities = context.ReadEntities<MyEntity>().Where(e => !e.IsDeleted);
I'm using a similar pattern for other entities, so I'm sure it's not that, and I have updated the related tables from the database, but still get a MetadataException with the message "Failed to create ref and poly ref fields of class". I can't find a reference to this message anywhere. What does it mean and how can I fix it?