An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

dotnet.database

This client library is a powerful tool for MSSQL/PostgreSQL. This tool allows to easy execute command/procedure with using only one line of code. Samples - https://github.com/tomaszmargacz/nuget-samples/tree/master/DotNet.Database.Sample If you have any questions or need improvement feel free to contact me: tomasz.margacz@gmail.com Sample code: var selectCommandWithParam = _dbClient.ExecuteCommand<TestModel>("Select * from dbo.Test where id = @id", new { id = selectCommand.FirstOrDefault().Id }); var selectProcedureWithParam = _dbClient.ExecuteStoredProcedure<TestModel>("dbo.GetTest", new { id = selectProcedure.FirstOrDefault().Id }); int insertCount = _dbClient.ExecuteCommand<int>("INSERT INTO dbo.Test (id, text, rate, created) VALUES (@id, @text, @rate, @created)", new { id = Guid.NewGuid().ToString(), text = "Test", rate = 1.2, created = DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss") });

Ecosystem
nuget.org
Latest Release
0.0.5
about 8 years ago
Versions
4
Downloads
6,173 total
Dependent Repos
1
Links
Registry nuget.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:nuget/dotnet.database
spec
License
First Release about 126 years ago
Last Synced 21 days ago
Rankings on nuget.org
Dependent repos Top 7.0%