@@ -14,7 +14,7 @@ public interface IReadRepositoryBase<T> where T : class
1414 /// </summary>
1515 /// <typeparam name="TId">The type of primary key.</typeparam>
1616 /// <param name="id">The value of the primary key for the entity to be found.</param>
17- /// <param name="cancellationToken"></param>
17+ /// <param name="cancellationToken">The cancellation token. </param>
1818 /// <returns>
1919 /// A task that represents the asynchronous operation.
2020 /// The task result contains the <typeparamref name="T" />, or <see langword="null"/>.
@@ -25,7 +25,7 @@ public interface IReadRepositoryBase<T> where T : class
2525 /// Returns the first element of a sequence, or a default value if the sequence contains no elements.
2626 /// </summary>
2727 /// <param name="specification">The encapsulated query logic.</param>
28- /// <param name="cancellationToken">A <see cref="CancellationToken" /> to observe while waiting for the task to complete .</param>
28+ /// <param name="cancellationToken">The cancellation token .</param>
2929 /// <returns>
3030 /// A task that represents the asynchronous operation.
3131 /// The task result contains the <typeparamref name="T" />, or <see langword="null"/>.
@@ -36,7 +36,7 @@ public interface IReadRepositoryBase<T> where T : class
3636 /// Returns the first element of a sequence, or a default value if the sequence contains no elements.
3737 /// </summary>
3838 /// <param name="specification">The encapsulated query logic.</param>
39- /// <param name="cancellationToken">A <see cref="CancellationToken" /> to observe while waiting for the task to complete .</param>
39+ /// <param name="cancellationToken">The cancellation token .</param>
4040 /// <returns>
4141 /// A task that represents the asynchronous operation.
4242 /// The task result contains the <typeparamref name="TResult" />, or <see langword="null"/>.
@@ -47,7 +47,7 @@ public interface IReadRepositoryBase<T> where T : class
4747 /// Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.
4848 /// </summary>
4949 /// <param name="specification">The encapsulated query logic.</param>
50- /// <param name="cancellationToken">A <see cref="CancellationToken" /> to observe while waiting for the task to complete .</param>
50+ /// <param name="cancellationToken">The cancellation token .</param>
5151 /// <returns>
5252 /// A task that represents the asynchronous operation.
5353 /// The task result contains the <typeparamref name="T" />, or <see langword="null"/>.
@@ -58,7 +58,7 @@ public interface IReadRepositoryBase<T> where T : class
5858 /// Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.
5959 /// </summary>
6060 /// <param name="specification">The encapsulated query logic.</param>
61- /// <param name="cancellationToken">A <see cref="CancellationToken" /> to observe while waiting for the task to complete .</param>
61+ /// <param name="cancellationToken">The cancellation token .</param>
6262 /// <returns>
6363 /// A task that represents the asynchronous operation.
6464 /// The task result contains the <typeparamref name="TResult" />, or <see langword="null"/>.
@@ -68,6 +68,7 @@ public interface IReadRepositoryBase<T> where T : class
6868 /// <summary>
6969 /// Finds all entities of <typeparamref name="T" /> from the database.
7070 /// </summary>
71+ /// <param name="cancellationToken">The cancellation token.</param>
7172 /// <returns>
7273 /// A task that represents the asynchronous operation.
7374 /// The task result contains a <see cref="List{T}" /> that contains elements from the input sequence.
@@ -79,6 +80,7 @@ public interface IReadRepositoryBase<T> where T : class
7980 /// <paramref name="specification"/>, from the database.
8081 /// </summary>
8182 /// <param name="specification">The encapsulated query logic.</param>
83+ /// <param name="cancellationToken">The cancellation token.</param>
8284 /// <returns>
8385 /// A task that represents the asynchronous operation.
8486 /// The task result contains a <see cref="List{T}" /> that contains elements from the input sequence.
@@ -94,6 +96,7 @@ public interface IReadRepositoryBase<T> where T : class
9496 /// </summary>
9597 /// <typeparam name="TResult">The type of the value returned by the projection.</typeparam>
9698 /// <param name="specification">The encapsulated query logic.</param>
99+ /// <param name="cancellationToken">The cancellation token.</param>
97100 /// <returns>
98101 /// A task that represents the asynchronous operation.
99102 /// The task result contains a <see cref="List{TResult}" /> that contains elements from the input sequence.
@@ -105,6 +108,7 @@ public interface IReadRepositoryBase<T> where T : class
105108 /// of the <paramref name="specification"/>.
106109 /// </summary>
107110 /// <param name="specification">The encapsulated query logic.</param>
111+ /// <param name="cancellationToken">The cancellation token.</param>
108112 /// <returns>
109113 /// A task that represents the asynchronous operation. The task result contains the
110114 /// number of elements in the input sequence.
@@ -114,6 +118,7 @@ public interface IReadRepositoryBase<T> where T : class
114118 /// <summary>
115119 /// Returns the total number of records.
116120 /// </summary>
121+ /// <param name="cancellationToken">The cancellation token.</param>
117122 /// <returns>
118123 /// A task that represents the asynchronous operation. The task result contains the
119124 /// number of elements in the input sequence.
@@ -125,6 +130,7 @@ public interface IReadRepositoryBase<T> where T : class
125130 /// of the <paramref name="specification"/> or not.
126131 /// </summary>
127132 /// <param name="specification">The encapsulated query logic.</param>
133+ /// <param name="cancellationToken">The cancellation token.</param>
128134 /// <returns>
129135 /// A task that represents the asynchronous operation. The task result contains true if the
130136 /// source sequence contains any elements; otherwise, false.
@@ -134,14 +140,15 @@ public interface IReadRepositoryBase<T> where T : class
134140 /// <summary>
135141 /// Returns a boolean whether any entity exists or not.
136142 /// </summary>
143+ /// <param name="cancellationToken">The cancellation token.</param>
137144 /// <returns>
138145 /// A task that represents the asynchronous operation. The task result contains true if the
139146 /// source sequence contains any elements; otherwise, false.
140147 /// </returns>
141148 Task < bool > AnyAsync ( CancellationToken cancellationToken = default ) ;
142149
143150
144- #if NET6_0_OR_GREATER
151+ #if NET8_0_OR_GREATER
145152 /// <summary>
146153 /// Finds all entities of <typeparamref name="T" />, that matches the encapsulated query logic of the
147154 /// <paramref name="specification"/>, from the database.
0 commit comments