Hello,
I'm currently experimenting with the dotconnect for MySQL trial, and especially with the integrated entity developer that comes with it, to see if it satisfies my needs.
I'm using VS2010.
I want to structure my solution with following projects, amongst others:
MyApplication.Data
MyApplication.Domain
In the Data project I want the edml model and the generated context.
In the Domain project I want only the generated entities.
I'm using the dbContext template. I have found out how to have the entity class files generate in the Domain project, and the context class file in the Data project. However, the context has the same namespace as the entities, which is the one I set when I right-click in the model and select "model settings", and then fill in the namespace there.
But, I want to have the context class in namespace MyApplication.Data, and the entity classes in MyApplication.Domain.
Is there any way to achieve this, besides manually editing the dbContext template ? I'd like to stick to the predifined template as much as possible.
By the way I have found this topic http://www.devart.com/forums/viewtopic. ... 7ee72a0a89
which talks more or less about what I'm trying to achieve, but I cannot find the dialog boxes stated there...
Thank you for your support.
Separate context and entity namespaces
We recommend you to post your suggestion at http://devart.uservoice.com/forums/1051 ... k-support/ to make it be implemented sooner.
Re: Separate context and entity namespaces
- The Entity Container Namespace properties of the model is implemented
- The Namespace property of class, complex type, enum is implemented
Re: Separate context and entity namespaces
New version of dotConnect for MySQL 7.6 is released!
It can be downloaded from http://www.devart.com/dotconnect/mysql/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=2&t=26316.
It can be downloaded from http://www.devart.com/dotconnect/mysql/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=2&t=26316.