Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
245 views
in Technique[技术] by (71.8m points)

c# - 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 . enter image description here this screen getting after comparing changes , enter image description here

please look the my setting that i am getting after run "git config -l --show-origin"enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 .

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).

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.8k users

...