数据库视觉工作室更新模型问题 [英] Visual studio update model from data base Issue
问题描述
i was facing a issue while trying to add a new Store Procedure from database . update model from data base is showing extra line changes in all Store Procedure and showing in "Include Changes " in Visual studio . I am using Visual Studio 2015 , trying to add newly created store Procedure in Entity . any help will be appreciable ,it making me in trouble a lot .[![enter image description here][1]][1]
此屏幕从模型更新后。
此屏幕比较更改后,
this screen getting after update from model . this screen getting after comparing changes ,
请看我的设置,我运行后git config -l --show-origin
please look the my setting that i am getting after run "git config -l --show-origin"
推荐答案
我在尝试从数据库中添加新的存储过程时遇到问题:
更新模型数据库在所有Store Procedure中显示额外的行更改,并在Visual Studio中的Include Changes中显示。
I was facing a issue while trying to add a new Store Procedure from database:
update model from data base is showing extra line changes in all Store Procedure and showing in "Include Changes " in Visual studio .
这些额外的行只是在方法声明之间添加的空行。
它们与核心无关。 autocrlf和eol(行尾)字符。
Those extra lines are simply empty lines added between method declarations.
They have nothing to do with core.autocrlf and eol (end of line) characters.
如果您下次更新模型时,您应该添加/提交这些更改,那么您应该不再次看到这些额外的行(因为他们已经在那里)。
Should you add/commit those changes, the next time you update your model, you should not see those extra lines again (because they would be already there).
所以这不是一个实际的问题,只是Visual Studio格式化该文件的默认方式。您可以按照所示进行这些更改。
So this is not an actual issue, just the way Visual Studio format that file by default. You can proceed with those changes as shown.
这篇关于数据库视觉工作室更新模型问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!