views:

40

answers:

0

Hello

I am using EntityFramework 4 with POCO classes, but I like to divide the database up into separate schemas. While I can do this designing the database first and then generating the model and everything works fine, if I update the model and select to generate database from model it ignores all my schemas and generates all tables under the default (or whatever I have set under Database Schema Name).

Is it possible to divide the entities up and have the generate database from model use those schemas?

Many thanks for any help. I've spent hours on Google and experimenting and I don't think it is possible, but thought I would check.