File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <VersionPrefix >2.2.1 </VersionPrefix >
3+ <VersionPrefix >2.2.2 </VersionPrefix >
44 <TargetFrameworks >$(NetStandardVersion)</TargetFrameworks >
55 <AssemblyName >JsonApiDotNetCore</AssemblyName >
66 <PackageId >JsonApiDotNetCore</PackageId >
3535 <PackageReference Include =" docfx.console" Version =" 2.33.0" />
3636 </ItemGroup >
3737
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)
146146 return await _entities . DeleteAsync ( id ) ;
147147 }
148148
149- private IQueryable < T > ApplySortAndFilterQuery ( IQueryable < T > entities )
149+ protected virtual IQueryable < T > ApplySortAndFilterQuery ( IQueryable < T > entities )
150150 {
151151 var query = _jsonApiContext . QuerySet ;
152152
@@ -163,7 +163,7 @@ private IQueryable<T> ApplySortAndFilterQuery(IQueryable<T> entities)
163163 return entities ;
164164 }
165165
166- private async Task < IEnumerable < T > > ApplyPageQueryAsync ( IQueryable < T > entities )
166+ protected virtual async Task < IEnumerable < T > > ApplyPageQueryAsync ( IQueryable < T > entities )
167167 {
168168 var pageManager = _jsonApiContext . PageManager ;
169169 if ( ! pageManager . IsPaginated )
@@ -174,7 +174,7 @@ private async Task<IEnumerable<T>> ApplyPageQueryAsync(IQueryable<T> entities)
174174 return await _entities . PageAsync ( entities , pageManager . PageSize , pageManager . CurrentPage ) ;
175175 }
176176
177- private IQueryable < T > IncludeRelationships ( IQueryable < T > entities , List < string > relationships )
177+ protected virtual IQueryable < T > IncludeRelationships ( IQueryable < T > entities , List < string > relationships )
178178 {
179179 _jsonApiContext . IncludedRelationships = relationships ;
180180
You can’t perform that action at this time.
0 commit comments