Page 1 of 1

entity developer error in code generation

Posted: Thu 04 Jun 2009 14:25
by robymes
I haven't yet understand how Entity Developer works with code generation.
I have DataSourceModel.edml, so I also have DataSourceModel.cs and DataSourceModel.Designer.cs.
Why the two files contains the same code when I compile the model in Entity Developer? this is a problem when compiling in Visual Studio (ambiguos definitions).

Am I wrong somewhere?

Thanks

Posted: Fri 05 Jun 2009 08:19
by AndreyR
The simplest way to fix this problem is to clear out the DataSourceModel.cs file.
We changed the behaviour so now it contains the partial class definitions and is not influenced by the code generation.