You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+121-2Lines changed: 121 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,12 @@ One feature is that it can look at your database's structure to check if your SQ
6
6
7
7
Overall, SQLWrapper is a handy tool for making SQL code easier to work with, saving time, and helping you write better code.
8
8
9
+
9
10
## Getting started with package NuGet Daikoz.SQLWrapper
10
11
11
12
**Video of demonstration:**
12
13
13
-
[](https://www.youtube.com/watch?v=xEeWnESZki0)
14
+
[](https://www.youtube.com/watch?v=xEeWnESZki0)
14
15
15
16
The .NET package NuGet [Daikoz.SQLWrapper](https://www.nuget.org/packages/Daikoz.SQLWrapper) integrate SQLWrapper in build process of our .NET project.
16
17
@@ -85,10 +86,128 @@ To start, follow a minimal configuration file. Modify HOSTNAME, USERID, PASSWORD
85
86
* A database helper if generate in file MyDataseHelper.cs
86
87
* For each *.sql, a wrapper is generated
87
88
89
+
88
90
## Getting started with command line SQLWrapper
89
91
92
+
SQLWrapper can be use in console.
93
+
94
+
### Database
95
+
96
+
First, extract and cache database structure in XML File:
-t, --type Required. Type of database: mysql, mariadb.
107
+
108
+
-c, --connectionstring Required. List of .net database connection string (https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/connection-string-syntax).
109
+
110
+
-o, --outputfile Output XML file (default: stdout).
This command create a **wrapper** from **database** for 2 queries defined in **inputfiles**. It use the **XSLT** file to generate the **outputfile**. **params** give parameters defined in **XLST** file (here the namespace).
165
+
166
+
### Helper
167
+
168
+
Generate a source code helper to help the access to database. For example: the length of all text columns.
0 commit comments