entity framework - Use EF Code First to work against a schema and not a database -
by default have used working separate database ef creates code first entities , datacontext. @ 1 of projects not allowed allocate separate database app's sole purpose. can create separate schema in existing database. possible, , if so, how configure ef work against separate schema in existent db?
the modelbuilder supports that
modelbuilder.entity<yourentity>.totable("nameoftable",schematouse);
entity-framework
No comments:
Post a Comment