PostgExecute.Net
1.0.0
Lightweight wrapper around NpgsqlConnection object to facilitate simple PostgreSQL execution and data retrieval in .NET Core.
This is not ORM!
It is much better...
See the version list below for details.
Install-Package PostgExecute.Net -Version 1.0.0
dotnet add package PostgExecute.Net --version 1.0.0
<PackageReference Include="PostgExecute.Net" Version="1.0.0" />
paket add PostgExecute.Net --version 1.0.0
postgexecute.net
Lightweight wrapper around NpgsqlConnection object to facilitate simple PostgreSQL execution and data retrieval in .NET Core.
This is NOT an ORM
I repeat:
This is NOT an ORM
- There is not data conversion whatsoever, and so there is no impedance mismatch issue.
- All read operations will serialize rows directly and only to IDictionary<string, object>>
or, even much, much better:
- All read operations version with lambda callback for each row
This opens up new flexibility options. Now you can:
-
Serialize directly to structure of your choice. No need for extra transformation step. For example dictionary of instances that has key same as your database key.
-
Write directly to stream, json, etc ...
Developer notes
If someone wishes to build micro-ORM Dapper style based on this code base - he or she may freely do so as long as they give proper credits/mentions and link to this repository. And if I may suggest a name - NoORM would be just perfect.
Current version works only with PostgreSQL and there are no plans for now to expand to other databases.
Read more at this link
postgexecute.net
Lightweight wrapper around NpgsqlConnection object to facilitate simple PostgreSQL execution and data retrieval in .NET Core.
This is NOT an ORM
I repeat:
This is NOT an ORM
- There is not data conversion whatsoever, and so there is no impedance mismatch issue.
- All read operations will serialize rows directly and only to IDictionary<string, object>>
or, even much, much better:
- All read operations version with lambda callback for each row
This opens up new flexibility options. Now you can:
-
Serialize directly to structure of your choice. No need for extra transformation step. For example dictionary of instances that has key same as your database key.
-
Write directly to stream, json, etc ...
Developer notes
If someone wishes to build micro-ORM Dapper style based on this code base - he or she may freely do so as long as they give proper credits/mentions and link to this repository. And if I may suggest a name - NoORM would be just perfect.
Current version works only with PostgreSQL and there are no plans for now to expand to other databases.
Read more at this link
Dependencies
-
.NETStandard 2.0
- Npgsql (>= 4.0.10)
GitHub Usage
This package is not used by any popular GitHub repositories.