630
99.9
Dec 03, 2010
Doug:
What do you mean with mulitple models?
Multiple databases, classes, or modules (groups of classes)?
Dan.
265
99.5
Dec 06, 2010
Hi Dan,
I replied to your question above. Hopefully that clears up what I'm trying to do. If not, let me know.
Doug
630
99.9
Dec 12, 2010
Doug:
The DataObjectFactory caches the connectionstring so that the context can be created quickly.
So, the DataObjectFactory represents a database connection, which would suggest that if your EF Models reside in the same database your above suggestions is appropriate (i.e. CreateActionContext, CreateAccountContext, etc). However, if your EF Models reside in different databases, then you will want to create additional DataObjectFactory classes, one for each database connection.
Hope this helps.