entity developer error in code generation

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
robymes
Posts: 29
Joined: Tue 09 Sep 2008 09:46

entity developer error in code generation

Post by robymes » Thu 04 Jun 2009 14:25

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

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 05 Jun 2009 08:19

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.

Post Reply