| Author |
Message |
Matt::
Joined: 20 Sep 2010 Posts: 4
|
Posted: Tue Oct 26, 2010 5:07 pm Post subject: Problems with Entity Framework |
|
|
Is there anything special I need to do to use SmartAssembly with Microsoft Entity Framework (3.5 SP1)?
I'm getting an exception along the lines of:
| Code: |
Schema specified is not valid.
DataModel.MyModel.csdl(3,4) : error 0019: The EntityContainer name must be unique. An EntityContainer with the name 'MyContainer' is already defined.
DataModel.MyModel.csdl(86,4) : error 0019: Each type name in a schema must be unique. Type name 'MyModel.MyType' was already defined.
.
.
.
|
repeated for all the classes.
Is there something specical I need to do or might I have made a simple mistake? The project settings have 'merging' on, and nothing else.
regards
Matt |
|
| Back to top |
|
 |
Matt::
Joined: 20 Sep 2010 Posts: 4
|
Posted: Wed Oct 27, 2010 9:15 am Post subject: |
|
|
Fixed it.
The solution is to make sure the original assembly containing the model is not in the bin folder |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group