每个表中的列名必须是唯一的。表'dbo.Profiles'中的列名'Url_Default'被多次指定 [英] Column names in each table must be unique. Column name 'Url_Default' in table 'dbo.Profiles' is specified more than once

查看:532
本文介绍了每个表中的列名必须是唯一的。表'dbo.Profiles'中的列名'Url_Default'被多次指定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在PM> Update-Database时的代码首次迁移期间。我得到了上述错误。如何解决?

During code First Migration when PM>Update-Database. Iam getting the above error. How to solve it??

推荐答案

错误意味着它的内容。您有两次相同的列名
Error means what it says. You have the same column name twice


这篇关于每个表中的列名必须是唯一的。表'dbo.Profiles'中的列名'Url_Default'被多次指定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆