asp.net mvc - Situation with my Entities model after publishing asp mvc project -


i have asp mvc project uses entity framework 5, uses simplemembership authorization. problem when initializesimplemembershipattribute creates tables in production (it's shared hosting environment) server, noticed prefixes tables different schema. went , changed tables schema.

/************* update *********************/ reason changed table schema queries ran against tables created different schema didn't work, changed of tables , specified different schema name in properties of model in vs, didn't work.

but none of queries run in code work, , application can't find tables. creating , authorizing users works ok, because uses websecurity methods, custom methods not work.

is there way this, how can publish edmx file consistent database in production server?

i wanted post own solution although simple indeed, because understand kind of odd situation , there should no need update in model of ef after development. however, mentioned, shared server didn't allow automatic creation of tables, (as created simplemembership component) had this:

run scripts on server.

then regenerate entire model, connecting production server purpose.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -