JsonToSQL 1.0.0

dotnet add package JsonToSQL --version 1.0.0
                    
NuGet\Install-Package JsonToSQL -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JsonToSQL" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JsonToSQL" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="JsonToSQL" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JsonToSQL --version 1.0.0
                    
#r "nuget: JsonToSQL, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JsonToSQL@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JsonToSQL&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=JsonToSQL&version=1.0.0
                    
Install as a Cake Tool

This is project to help creating SQL entities (tables) by json formated syntax and insert, update or delete rows in created or updated entities.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 2,168 5/13/2015

1. In package manager console run command:

Install-Package JsonToSQL

or visit nuget.org

2. Setup your app.config add your connection string

<connectionStrings>
<add name="JsonToSQL.Properties.Settings.JsonToSQLConnectionString"
connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=JsonToSQL;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>

3. Download example json and include into your project, set property of file "Copy to Output directory" to true

4. Add  to your code:

string json=System.IO.File.ReadAllText("test.json");
JsonToSql.JsonToSqlProvider provider = new JsonToSql.JsonToSqlProvider(json);
string resultJson=provider.Commit();

5. Check your database and result in resultJson