Skip to content

essanousy/CommandAsSql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommandAsSql

.Net standard 2.0 Nuget package. Extension method for SqlCommand to display all parameters as inline SQL. Output is a string which can be copy pasted in a DB management tool. It's based on some code from StackOverflow and enhanced for table value parameters. Please send pull-requests.

Install in packagemanager:

Install-Package CommandAsSql -Version 1.0.0

Install from CLI:

dotnet add package CommandAsSql --version 1.0.0

Can be found on Nuget: https://www.nuget.org/packages/CommandAsSql/1.0.0

Most code is from Flapper https://stackoverflow.com/users/391383/flapper and his StackOverflow answer: https://stackoverflow.com/a/4146573/169714

database icon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%