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.

There is a newer version of this package available.
See the version list below for details.
Install-Package CodeNode.Datalayer -Version
dotnet add package CodeNode.Datalayer --version
<PackageReference Include="CodeNode.Datalayer" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeNode.Datalayer --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added support for NET40 framework.


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.

Version History

Version Downloads Last updated
1.0.4 1,653 10/19/2015 563 8/8/2015 636 6/4/2015 596 5/23/2015 600 5/16/2015
1.0.0 759 5/12/2015