Comments (7)
Hi. Decided I don't want to maintain code I don't use and don't fully understand (not a good recipe thinking long term). However, if you want to create your own project/package (e.g. DbExtensions.Async) then I'd be happy to make it easier for you, e.g. giving you access to internal members using [InternalsVisibleTo]
, or making non-breaking changes so the integration is easier.
from dbextensions.
No plans currently. I don't know enough about async. I'd accept guidance to evaluate feasibility.
from dbextensions.
I was talking about the *.Async
APIs on DbConnection e.g. connection.OpenAsync
and DbCommand e.g. command.ExecuteScalaAsync
.
We could have something like IAsyncDatabase that depends on the System.Data.Common
APIs?
I've tried implementing it but some classes e.g. SqlSet
constructor is marked internal.
Hope that makes sense. Will to help out.
from dbextensions.
If I understand correctly, the idea is to add methods to the API that, instead of returning T
, return Task<T>
. What are the methods you tried to implement?
from dbextensions.
Hi, was passed out the entire time :) I hadn't gotten to working with SqlSet and SqlTable but here is a gist on IDatabase IAsyncDatabase. Because in V6 we are using IDbConnection
I added helper methods to try execute the operation in Async
fashion if possible
from dbextensions.
Awesome thanks, the team decided to use NPoco for the current project but I don't mind working on an Async version. I can fork the project and make the necessary changes in my fork then I can keep updating you on what changes I would need and why, does that sound ok?
from dbextensions.
Sounds good.
from dbextensions.
Related Issues (20)
- Need to "extend" clause HOT 1
- dotnet core version HOT 23
- Support explicit DbParameter on CreateCommand HOT 3
- Add support for CROSS_JOIN to SqlBuilder HOT 2
- CommandTimeout setting HOT 4
- Accessing CommandTimeout property HOT 1
- Support updates when using updatable keys HOT 1
- LIMIT and OFFSET incorrectly adding {0} instead of actual value. HOT 1
- Please create a DotNet Standard Version. HOT 1
- Compile with C# 8 to leverage nullable reference types annotations HOT 1
- Association with multiple keys HOT 4
- Error using SqlSet using depth path HOT 2
- Add support for .NetStandard 2.1 HOT 1
- Hitting SQL 2100 parameter limit HOT 3
- Use same parameter when value is the same HOT 6
- ColumnAttribute Name does not work HOT 8
- Expose table name metadata
- .NET 6 support? HOT 2
- [self-resolved] ._ForEach<T>() behaves differently depending on .NET environment ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbextensions.