Are there any pitfalls to having two different Models from two different assemblies? (EF)

Posted by Jonn on Stack Overflow See other posts from Stack Overflow or by Jonn
Published on 2010-05-07T08:24:50Z Indexed on 2010/05/07 8:38 UTC
Read the original article Hit count: 190

Filed under:

I have two projects, both of them data access layers, and both using EF. I have another project calling services related to the two different assemblies. Are there any pitfalls on using two different models on two different databases linked to the same database?

I'm asking this because I've been getting this generic "EntitySqlException"

could not be resolved in the current scope or context. Make sure that all referenced variables are in scope, that required schemas are loaded, and that namespaces are referenced correctly., near escaped identifier.

that does not appear when are run separately but appear when under the same project.

© Stack Overflow or respective owner

Related posts about entity-framework