开发者

Update dbml designer.cs from layout

Usually when I want to add a table to my dbml, I drag the table over from my server explorer.

I'm having issues connecting to my database from the Server Explorer, so I decided to just add my class 开发者_JS百科by right-clicking in the designer and selecting Add Class. So I created the class and properties to match up with the database.

But for some reason, none of the code was generated for it in the designer.cs file. Is there a way to generate all that code?


I believe you need to right-click on the DBML file and choose "Run Custom Tool"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜