File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <VersionPrefix >2.2.1 </VersionPrefix >
3
+ <VersionPrefix >2.2.2 </VersionPrefix >
4
4
<TargetFrameworks >$(NetStandardVersion)</TargetFrameworks >
5
5
<AssemblyName >JsonApiDotNetCore</AssemblyName >
6
6
<PackageId >JsonApiDotNetCore</PackageId >
35
35
<PackageReference Include =" docfx.console" Version =" 2.33.0" />
36
36
</ItemGroup >
37
37
38
- </Project >
38
+ </Project >
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public virtual async Task<bool> DeleteAsync(TId id)
146
146
return await _entities . DeleteAsync ( id ) ;
147
147
}
148
148
149
- private IQueryable < T > ApplySortAndFilterQuery ( IQueryable < T > entities )
149
+ protected virtual IQueryable < T > ApplySortAndFilterQuery ( IQueryable < T > entities )
150
150
{
151
151
var query = _jsonApiContext . QuerySet ;
152
152
@@ -163,7 +163,7 @@ private IQueryable<T> ApplySortAndFilterQuery(IQueryable<T> entities)
163
163
return entities ;
164
164
}
165
165
166
- private async Task < IEnumerable < T > > ApplyPageQueryAsync ( IQueryable < T > entities )
166
+ protected virtual async Task < IEnumerable < T > > ApplyPageQueryAsync ( IQueryable < T > entities )
167
167
{
168
168
var pageManager = _jsonApiContext . PageManager ;
169
169
if ( ! pageManager . IsPaginated )
@@ -174,7 +174,7 @@ private async Task<IEnumerable<T>> ApplyPageQueryAsync(IQueryable<T> entities)
174
174
return await _entities . PageAsync ( entities , pageManager . PageSize , pageManager . CurrentPage ) ;
175
175
}
176
176
177
- private IQueryable < T > IncludeRelationships ( IQueryable < T > entities , List < string > relationships )
177
+ protected virtual IQueryable < T > IncludeRelationships ( IQueryable < T > entities , List < string > relationships )
178
178
{
179
179
_jsonApiContext . IncludedRelationships = relationships ;
180
180
You can’t perform that action at this time.
0 commit comments