...全并简单的进行上述‘替换’的方法是在解决方案管理器中右键单击SampleDataSource.cs并选择Exclude From Project(从项目中排除)。当把示例数据排除后,应用程序将不能编译,此时您将确切知道应该在何处进行修改。
基于1个网页-相关网页
You will need to exclude the current migration files from the project and create a new migration based on updating an empty or initial database schema.
你需要排除当前迁移文件从项目和创建一个新的迁移基于更新空或初始数据库模式。
Solution Explorer, click the item that you want to exclude from your database project.
“解决方案资源管理器”中,单击要从数据库项目中排除的项。
How to: Exclude Files from a Database Project.
如何:从数据库项目中排除文件。
应用推荐