Hi,
I'm working on using ADO.NET for a web application. I have a table
with a series of questions. Each question type has different
attributes, some of which need to be retrieved from another table.
Because I'm new to the Entity Framework, I started by trying to create
the first subtype. So my list of questions is contained in a type
called dynamicXML that maps directly to the table.
I created a subtype called Range that inherits from DynamicXML. I
took a field that has a property only pertaining to Range,
"rangeText", and cut it from dynamicXML and pasted it into the Range
entity.
When I click validate, I get the following error:
Error 1 Error 3034: Problem in Mapping Fragments starting at lines
104, 121: Two entities with different keys are mapped to the same row.
Ensure these two mapping fragments do not map two groups of entities
with overlapping keys to the same group of rows.
C:\Users\ron\Desktop\MR\Data2\App_Code\Model.edmx 105 15
C:\...
\Data2\
I don't understand this error...I don't have two entities with the
same keys mapped to the same row. Anyone have thoughts as to what is
going on with this?
Thanks,
Ron