Skip to content
| Marketplace
Sign in
Visual Studio>Tools>PasteSQL C# Classes
PasteSQL C# Classes

PasteSQL C# Classes

GUI Innovations

|
2,468 installs
| (3) | Free
This add-in will allow you to paste SQL create statements from SQL Server and create C# classes from the table. In SSMS, Right click on a table, Script Table as> Create to> Clipboard Then
Download

This add-in lets you easily create classes for your SQL Server database tables, directly into your code. In SSMS, select your table, right click on the table, and select Create To and select Clipboard.

ToClipboard.png

This will copy all the statements needed to create your table.

CreateScript.png

In your C# code, position the cursor where you want the class inserting, and click on Edit>Paste Special>Paste SQL As Classes

Preview_Image__1.png

The clipboard will be scanned, and the class for your table pasted into your source code. Nullable fields will be taken into account.

Results.png

If you choose Paste SQL As Binding classes, the code generated will implement INotifyPropertyChanged on the class

INotify.png

And generate code for each field, plus the INotifyPropertyChanged code

Binding.png

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft