none
EF and multiple namespaces RRS feed

  • Question

  • Morning,

    I was wondering what the best way would be to break up the classes generated by the model.  We have a database with 150+ tables and I would like to keep one object context that can work with all of these objects but have the entities (and ideally their entity sets) in other namespaces to keep things better organized.  I already have everything defined in an edmx so I'd like to use that if possible.

    That being said...

    1.  Is there anything that can be done in the edmx and with text templates to make this work?

    2.  Can this be done in code first? 

    Thanks for your help.

    Wednesday, July 27, 2011 12:38 PM

Answers