CodeNode.Datalayer
1.0.0.1
See the version list below for details.
dotnet add package CodeNode.Datalayer --version 1.0.0.1
NuGet\Install-Package CodeNode.Datalayer -Version 1.0.0.1
<PackageReference Include="CodeNode.Datalayer" Version="1.0.0.1" />
paket add CodeNode.Datalayer --version 1.0.0.1
#r "nuget: CodeNode.Datalayer, 1.0.0.1"
// Install CodeNode.Datalayer as a Cake Addin #addin nuget:?package=CodeNode.Datalayer&version=1.0.0.1 // Install CodeNode.Datalayer as a Cake Tool #tool nuget:?package=CodeNode.Datalayer&version=1.0.0.1
This package is complete wrapper of ADO.NET and provide very easy access of all required functions in very efficient way.
For e.g.:
var request = new AdhocRequest("procName", CommandType.StoredProcedure);
request.Params.Add(new AdhocParameter("Id", 123));
request.Params.Add(new AdhocParameter("Name", "Rahul");
If you expecting a list of T from your stored procedure:
using (var dataReader = new DataProvider().ExecuteDataReader(request))
{
result = dataReader.MapToList<ModelType>();
}
If we expecting a single record of T:
using (var dataReader = new DataProvider().ExecuteDataReader(request))
{
result = dataReader.MapToObject<ModelType>();
}
For more information please look at project site.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. 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. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added support for NET40 framework.