Options

Problems with Entity Framework

Matt::Matt:: Posts: 6
edited October 27, 2010 4:15AM in SmartAssembly 5
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:
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

Sign In or Register to comment.