Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > Error 1 in Mapp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4260 of 4320
Post > Topic >>

Error 1 in Mapping Entity Framework

by =?Utf-8?B?U3RlcGhhbg==?= <Stephan@[EMAIL PROTECTED] > Jul 3, 2008 at 06:29 AM

Hi,

i wrote an Entity Framework Application with one table "Test".
In this table is an attribute "Type". If the the is 1 I will map to 
DerivedClass1
if the attribute is 2 I will map to DerivedClass2.
I designed my model and everything works fine.
But I still habe an error in VS ErrorTab:

Error	1	Entity types DerivedClassType1, DerivedClassType2 are mapped to 
table Test without discriminating conditions on all mappings to the table.

What does this mean ?

Thanx 
Stephan
 




 1 Posts in Topic:
Error 1 in Mapping Entity Framework
=?Utf-8?B?U3RlcGhhbg==?=   2008-07-03 06:29:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:48:13 CST 2008.