简体   繁体   中英

How to update Link-To-SQL's designer.cs from DBML file?

I've added to a database's table a field. I've updated the dbml file. The field is there.

The link-to-sql's designer file supposed to be updated automaticaly but the field that I've added doesn't appear.

How to update it in order to use this field in my project ?

I hope that i'm understandable !

Nicolas

  1. Open the .dbml in layout view.
  2. Remove the existing mapping
  3. Drag your table from server explorer in layout view. This will update your .layout file.
  4. Rebuild your project to update the .designer.cs file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM