How to enable CodeFirst to migrate schema changes against a replicated database?

落爺英雄遲暮 提交于 2019-12-10 23:28:47

问题


Running any migration that alters existing replicated tables fails with the following error:

You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.

Have tried taking the scripts generated during the migration and executing in sql under same user and they work.

Is there a setting somewhere that may allow these updates to go through?

来源:https://stackoverflow.com/questions/22789395/how-to-enable-codefirst-to-migrate-schema-changes-against-a-replicated-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!