This question is locked. New answers and comments are not allowed.
Hi,
I have a db with a table persons, and a few derived tables like 'customers', 'operators' etc. I generated an entity model from the db, an now I try to implement vertical mapping by deleting the default associations between the entities mentioned, and adding a new inheritance link, and disabling the identity column in the classes inheriting 'person'. so far so good.
I cannot compile however because I keep getting this error:
Error 3 Duplicated Metadata entries found for type Siloking.RecipyManager.DAL.Person. Please use only one way of mapping. D:\Workspaces\KV\SiloKing\SRM\Siloking.RecipyManager.DAL\obj\Debug\Siloking.RecipyManager.DAL.dll Siloking.RecipyManager.DAL
The next problem I have is that when I make changes to the entity model and try to propagate them back to the db, I keep getting the message I have to compile the assembly first, which I did a lot of times already (this was before trying to implement inheritance ;-) )
I have no idea what to do. Maybe someone can help?
Edit: I am using Q2 2010, VS2010 and W7x64
Thanks!
I have a db with a table persons, and a few derived tables like 'customers', 'operators' etc. I generated an entity model from the db, an now I try to implement vertical mapping by deleting the default associations between the entities mentioned, and adding a new inheritance link, and disabling the identity column in the classes inheriting 'person'. so far so good.
I cannot compile however because I keep getting this error:
Error 3 Duplicated Metadata entries found for type Siloking.RecipyManager.DAL.Person. Please use only one way of mapping. D:\Workspaces\KV\SiloKing\SRM\Siloking.RecipyManager.DAL\obj\Debug\Siloking.RecipyManager.DAL.dll Siloking.RecipyManager.DAL
The next problem I have is that when I make changes to the entity model and try to propagate them back to the db, I keep getting the message I have to compile the assembly first, which I did a lot of times already (this was before trying to implement inheritance ;-) )
I have no idea what to do. Maybe someone can help?
Edit: I am using Q2 2010, VS2010 and W7x64
Thanks!