@@ -18,20 +18,20 @@ Download from [releases](https://github.com/gmarginet/SqlQueryTools/releases)
1818You can add a new sql file by right clicking on a .cs file and select 'Sql Query Tools/Add Sql File'.
1919This will add a nested sql file below the selected csharp file.
2020
21- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/AddSqlFile.png )
21+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/AddSqlFile.png?raw=true )
2222
2323The following dialog will pop up, enter the filename and click 'Add file'.
2424
25- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/AddNewSqlFileDialog.png )
25+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/AddNewSqlFileDialog.png?raw=true )
2626
2727The added sql file will have the following content.
2828
29- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/SqlFileDefaultContent.png )
29+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/SqlFileDefaultContent.png?raw=true )
3030
3131Before you start writing your query you should set the SQL server connection string that Sql Query Tools should use to validate the query.
3232The connection string can be set in the .csproj file you just added the sql file to.
3333
34- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ConnectionString.png )
34+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ConnectionString.png?raw=true )
3535
3636Now you can start writing your sql query.
3737You can remove all comments but if you use parameters in your query you should put the parameter declarations above the 'End Of Parameter Declaration' marker.
@@ -42,26 +42,26 @@ All comments that you keep in your sql file will not be put in the const string.
4242
4343Below you can find an example of a query.
4444
45- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ExampleSql.png )
45+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ExampleSql.png?raw=true )
4646
4747When you save the sql file, Sql Query Tools will start generating the code behind.
4848The progress can be found in the Sql Query Tools output panel.
4949Here you will also find more info when something went wrong.
5050
51- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/OutputPanel.png )
51+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/OutputPanel.png?raw=true )
5252
5353And the generated code for the example query from above will look like this.
5454
55- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ExampleCode.png )
55+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/ExampleCode.png?raw=true )
5656
5757The solution explorer will now look like this.
5858
59- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/SolutionExplorer.png )
59+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/SolutionExplorer.png?raw=true )
6060
6161If you don't like the file suffixes or the parameter declaration marker.
6262These can be changed via 'Tools/Options/SqlQueryTools
6363
64- ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/Options.png )
64+ ![ image] ( https://github.com/gmarginet/SqlQueryTools/blob/master/art/Options.png?raw=true )
6565
6666### License
6767
0 commit comments