diff --git a/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj b/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj index 281ebfe..9da0c12 100644 --- a/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj +++ b/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj @@ -9,7 +9,7 @@ https://github.com/PoweredSoft/Data github powered,soft,orm,db,context,ef,ef6,efcore,factory - 1.0.1 + 1.0.2 https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro PoweredSoft.Data.Core Library to abstract orm. @@ -18,6 +18,8 @@ False PoweredSoft.Data.Core PoweredSoft.Data.Core + 1.0.2.0 + 1.0.2.0 diff --git a/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj b/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj index 640749d..21222d4 100644 --- a/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj +++ b/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj @@ -9,7 +9,7 @@ https://github.com/PoweredSoft/Data github powered,soft,orm,db,context,ef,ef6,efcore,factory - 1.0.1 + 1.0.2 https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro PoweredSoft.Data.EntityFrameworkCore the abstraction implementation for EF Core. @@ -18,6 +18,8 @@ False PoweredSoft.Data.EntityFrameworkCore PoweredSoft.Data.EntityFrameworkCore + 1.0.2.0 + 1.0.2.0 diff --git a/README.md b/README.md index 688ad55..ee0e6e3 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,19 @@ public class SomeClass } } +``` + +## AsyncQueryableFactory + +Also as the same kind of goal, will slowly add support for a non dependant to orm async method. + +```csharp +public interface IAsyncQueryableFactory +{ + Task FirstOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken)); + Task FirstOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default(CancellationToken)); + Task> ToListAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken)); + Task CountAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken)); + Task LongCountAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken)); +} ``` \ No newline at end of file