diff --git a/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj b/PoweredSoft.Data.Core/PoweredSoft.Data.Core.csproj
index 65b6bcf..1b587b4 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
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data.Core
Library to abstract orm.
diff --git a/PoweredSoft.Data.EntityFramework/PoweredSoft.Data.EntityFramework.csproj b/PoweredSoft.Data.EntityFramework/PoweredSoft.Data.EntityFramework.csproj
index 0724451..b58263b 100644
--- a/PoweredSoft.Data.EntityFramework/PoweredSoft.Data.EntityFramework.csproj
+++ b/PoweredSoft.Data.EntityFramework/PoweredSoft.Data.EntityFramework.csproj
@@ -8,7 +8,7 @@
https://github.com/PoweredSoft/Data
github
powered,soft,orm,db,context,ef,ef6,efcore,factory
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data.EntityFramework
the abstraction implementation for EF Core.
@@ -20,7 +20,7 @@
-
+
diff --git a/PoweredSoft.Data.EntityFrameworkCore/ASyncQueryableService.cs b/PoweredSoft.Data.EntityFrameworkCore/ASyncQueryableService.cs
index a34b42c..139a6e9 100644
--- a/PoweredSoft.Data.EntityFrameworkCore/ASyncQueryableService.cs
+++ b/PoweredSoft.Data.EntityFrameworkCore/ASyncQueryableService.cs
@@ -1,4 +1,5 @@
using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using PoweredSoft.Data.Core;
using System;
@@ -12,23 +13,23 @@ namespace PoweredSoft.Data.EntityFrameworkCore
{
public class AsyncQueryableHandlerService : IAsyncQueryableHandlerService
{
- public Task FirstOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken))
+ public Task FirstOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default)
=> queryable.FirstOrDefaultAsync(cancellationToken);
- public Task FirstOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default(CancellationToken))
+ public Task FirstOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default)
=> queryable.FirstOrDefaultAsync(predicate, cancellationToken);
- public Task> ToListAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken))
+ public Task> ToListAsync(IQueryable queryable, CancellationToken cancellationToken = default)
=> queryable.ToListAsync(cancellationToken);
- public Task CountAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken))
+ public Task CountAsync(IQueryable queryable, CancellationToken cancellationToken = default)
=> queryable.CountAsync();
- public Task LongCountAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken))
+ public Task LongCountAsync(IQueryable queryable, CancellationToken cancellationToken = default)
=> queryable.LongCountAsync();
public bool CanHandle(IQueryable queryable) => queryable.Provider is IAsyncQueryProvider;
- public Task AnyAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default(CancellationToken))
+ public Task AnyAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default)
=> queryable.AnyAsync(predicate, cancellationToken);
- public Task AnyAsync(IQueryable queryable, CancellationToken cancellationToken = default(CancellationToken))
+ public Task AnyAsync(IQueryable queryable, CancellationToken cancellationToken = default)
=> queryable.AnyAsync(cancellationToken);
}
}
diff --git a/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj b/PoweredSoft.Data.EntityFrameworkCore/PoweredSoft.Data.EntityFrameworkCore.csproj
index f5d740c..e13f74c 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
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data.EntityFrameworkCore
the abstraction implementation for EF Core.
@@ -21,7 +21,7 @@
-
+
diff --git a/PoweredSoft.Data.InMemory/PoweredSoft.Data.InMemory.csproj b/PoweredSoft.Data.InMemory/PoweredSoft.Data.InMemory.csproj
index 5cd297b..0b2229e 100644
--- a/PoweredSoft.Data.InMemory/PoweredSoft.Data.InMemory.csproj
+++ b/PoweredSoft.Data.InMemory/PoweredSoft.Data.InMemory.csproj
@@ -9,7 +9,7 @@
https://github.com/PoweredSoft/Data
github
async,queryable,handler,service,di
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data.InMemory
Library to abstract orm.
diff --git a/PoweredSoft.Data.MongoDB/PoweredSoft.Data.MongoDB.csproj b/PoweredSoft.Data.MongoDB/PoweredSoft.Data.MongoDB.csproj
index a320fb9..1104d98 100644
--- a/PoweredSoft.Data.MongoDB/PoweredSoft.Data.MongoDB.csproj
+++ b/PoweredSoft.Data.MongoDB/PoweredSoft.Data.MongoDB.csproj
@@ -9,7 +9,7 @@
https://github.com/PoweredSoft/Data
github
powered,soft,async,queryable,handler
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data.MongoDB
the abstraction implementation for MongoDB.
@@ -21,8 +21,8 @@
-
-
+
+
diff --git a/PoweredSoft.Data/PoweredSoft.Data.csproj b/PoweredSoft.Data/PoweredSoft.Data.csproj
index 42a1977..942afd7 100644
--- a/PoweredSoft.Data/PoweredSoft.Data.csproj
+++ b/PoweredSoft.Data/PoweredSoft.Data.csproj
@@ -9,7 +9,7 @@
https://github.com/PoweredSoft/Data
github
async,queryable,handler,service,di
- 2.0.0$(VersionSuffix)
+ 3.0.0$(VersionSuffix)
https://secure.gravatar.com/avatar/4e32f73820c16718909a06c2927f1f8b?s=512&r=g&d=retro
PoweredSoft.Data
Library to abstract orm.
@@ -25,7 +25,7 @@
-
+