You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -487,7 +487,7 @@ public IQueryResult<int> Count<TEntity>(IQueryOptions<TEntity> options) where TE
487
487
/// <typeparam name="TEntity">The type of the of the entity.</typeparam>
488
488
/// <param name="options">The options to apply to the query.</param>
489
489
/// <returns><c>true</c> if the repository contains one or more elements that match the conditions defined by the specified criteria; otherwise, <c>false</c>.</returns>
@@ -506,7 +506,7 @@ public IQueryResult<bool> Exists<TEntity>(IQueryOptions<TEntity> options) where
506
506
break;
507
507
}
508
508
509
-
returnnewQueryResult<bool>(hasRows);
509
+
returnhasRows;
510
510
}
511
511
}
512
512
@@ -612,7 +612,7 @@ public IPagedQueryResult<IEnumerable<TResult>> GroupBy<TEntity, TGroupKey, TResu
612
612
/// <param name="projector">A function to project each entity into a new form.</param>
613
613
/// <param name="cancellationToken">A <see cref="System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
614
614
/// <returns>The <see cref="System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing a list which each entity has been projected into a new form.</returns>
@@ -626,7 +626,7 @@ public IPagedQueryResult<IEnumerable<TResult>> GroupBy<TEntity, TGroupKey, TResu
626
626
list.Add(projector(reader));
627
627
}
628
628
629
-
returnnewQueryResult<IEnumerable<TEntity>>(list);
629
+
returnlist;
630
630
}
631
631
}
632
632
@@ -638,11 +638,11 @@ public IPagedQueryResult<IEnumerable<TResult>> GroupBy<TEntity, TGroupKey, TResu
638
638
/// <param name="parameters">The parameters to apply to the SQL query string.</param>
639
639
/// <param name="cancellationToken">A <see cref="System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
640
640
/// <returns>The <see cref="System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing the number of rows affected.</returns>
@@ -742,7 +742,7 @@ public IPagedQueryResult<IEnumerable<TResult>> GroupBy<TEntity, TGroupKey, TResu
742
742
/// <param name="fetchStrategy">Defines the child objects that should be retrieved when loading the entity.</param>
743
743
/// <param name="keyValues">The values of the primary key for the entity to be found.</param>
744
744
/// <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing the entity found in the repository.</returns>
@@ -779,7 +779,7 @@ public async Task<IQueryResult<TEntity>> FindAsync<TEntity>(CancellationToken ca
779
779
/// <param name="selector">A function to project each entity into a new form.</param>
780
780
/// <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
781
781
/// <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing the projected entity result that satisfied the criteria specified by the <paramref name="selector" /> in the repository.</returns>
@@ -837,15 +837,15 @@ public async Task<IQueryResult<TEntity>> FindAsync<TEntity>(CancellationToken ca
837
837
/// <param name="options">The options to apply to the query.</param>
838
838
/// <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
839
839
/// <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing the number of entities that satisfied the criteria specified by the <paramref name="options" /> in the repository.</returns>
@@ -855,7 +855,7 @@ public async Task<IQueryResult<TEntity>> FindAsync<TEntity>(CancellationToken ca
855
855
/// <param name="options">The options to apply to the query.</param>
856
856
/// <param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken" /> to observe while waiting for the task to complete.</param>
857
857
/// <returns>The <see cref="T:System.Threading.Tasks.Task" /> that represents the asynchronous operation, containing a value indicating <c>true</c> if the repository contains one or more elements that match the conditions defined by the specified criteria; otherwise, <c>false</c>.</returns>
0 commit comments