SQLJSONReader 6.1.0
.NET 6.0
dotnet add package SQLJSONReader --version 6.1.0
NuGet\Install-Package SQLJSONReader -Version 6.1.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="SQLJSONReader" Version="6.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SQLJSONReader --version 6.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SQLJSONReader, 6.1.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.
// Install SQLJSONReader as a Cake Addin
#addin nuget:?package=SQLJSONReader&version=6.1.0
// Install SQLJSONReader as a Cake Tool
#tool nuget:?package=SQLJSONReader&version=6.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SQLJSONReader
An extension to read JSON from SQL server off of a SQLCommand to get data. This package is in Nuget as SQLJsonReader
Usage, include using SQLJSON.Extensions;
for the use and addition of ExecuteJsonReaderAsync
and ExecuteJsonReader
to read JSON
from SQL Server after a stored procedure call returns JSON using the for JSON
.
string result;
using (SqlConnection conn = new SqlConnection(connection))
{
conn.Open();
using (var cmd = new SqlCommand(sproc, conn) { CommandType = CommandType.StoredProcedure, CommandTimeout = 600 })
{
if (parameters != null)
cmd.Parameters.AddRange(parameters);
var reader = await cmd.ExecuteJsonReaderAsync();
result = await reader.ReadAllAsync();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- System.Data.SqlClient (>= 4.8.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SQLJSONReader:
Package | Downloads |
---|---|
JSON-ORM
An ORM based on Models created from JSON returned from SQL Server Sprocs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Removal of Newtonsoft.