Problems with Entity Framework
Matt::
Posts: 6
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:
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
I'm getting an exception along the lines of:
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
Comments
The solution is to make sure the original assembly containing the model is not in the bin folder