Entity Framework namespaces - context namespace
I have an edmx file and I loaded 5 tables.
I would like to change the namespace of 2 of the 5 tables so the context object will be in开发者_如何学运维 another namespace. Is there any way to do it?Not possible through the designer [as far as I know].
Options:
- Tweak the code generation yourself (more info here)
- Use the new EF code-first (EF 4.1) approach where this should be entirely possible out of the box
To achieve what you want you need two separate EDMX files.
精彩评论