CodeNode.Datalayer
1.0.0
See the version list below for details.
dotnet add package CodeNode.Datalayer --version 1.0.0
NuGet\Install-Package CodeNode.Datalayer -Version 1.0.0
<PackageReference Include="CodeNode.Datalayer" Version="1.0.0" />
paket add CodeNode.Datalayer --version 1.0.0
#r "nuget: CodeNode.Datalayer, 1.0.0"
// Install CodeNode.Datalayer as a Cake Addin #addin nuget:?package=CodeNode.Datalayer&version=1.0.0 // Install CodeNode.Datalayer as a Cake Tool #tool nuget:?package=CodeNode.Datalayer&version=1.0.0
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", Id));
request.Params.Add(new AdhocParameter("Name", Name);
If we expecting a list of T:
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 | 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.