Can I change the default schema name in entity framework 4.3 code-first?

前端 未结 5 911
野的像风
野的像风 2020-12-04 17:57

Currently I am deploying my application to a shared hosting environment and code-first with migrations has been working great except for one minor hiccup. Everytime I want t

5条回答
  •  孤城傲影
    2020-12-04 18:06

    For database first implementations, its easy. Open the edmx file, right click-> Properties and set the default database schema.

    For code first, this article seems most promising. http://devproconnections.com/entity-framework/working-schema-names-entity-framework-code-first-design

提交回复
热议问题