Skip to content

Commit 424d051

Browse files
Update need text
1 parent ebd2539 commit 424d051

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

EntityFrameworkExtras.Shared/DatabaseExtensions.cs

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,14 @@ public static IEnumerable<T> ExecuteStoredProcedure<T>(this DatabaseFacade datab
171171
}
172172
#if !EFCORE_2X
173173

174-
// Need Text!
174+
/// <summary>
175+
/// Executes the specified stored procedure against a database asyncrounously
176+
/// and returns an enumerable of T representing the data returned.
177+
/// </summary>
178+
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>
179+
/// <param name="database">The database to execute against.</param>
180+
/// <param name="storedProcedure">The stored procedure to execute.</param>
181+
/// <returns></returns>
175182
public static async Task<IEnumerable<T>> ExecuteStoredProcedureAsync<T>(this DatabaseFacade database, object storedProcedure, CancellationToken cancellationToken = default)
176183
{
177184
if (storedProcedure == null)
@@ -262,7 +269,14 @@ public static IEnumerable<T> ExecuteStoredProcedure<T>(this Database database, o
262269

263270
#if NET45
264271

265-
// NEED TEXT!
272+
/// <summary>
273+
/// Executes the specified stored procedure against a database asyncrhousnouly
274+
/// and returns the first or default value
275+
/// </summary>
276+
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>
277+
/// <param name="database">The database to execute against.</param>
278+
/// <param name="storedProcedure">The stored procedure to execute.</param>
279+
/// <returns></returns>
266280
public static async Task<IEnumerable<T>> ExecuteStoredProcedureAsync<T>(this Database database, object storedProcedure, CancellationToken cancellationToken = default)
267281
{
268282
if (storedProcedure == null)
@@ -279,7 +293,7 @@ public static async Task<IEnumerable<T>> ExecuteStoredProcedureAsync<T>(this Dat
279293
#endif
280294

281295
/// <summary>
282-
/// Executes the specified stored procedure against a database
296+
/// Executes the specified stored procedure against a database asynchronously
283297
/// and returns the first or default value
284298
/// </summary>
285299
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>

0 commit comments

Comments
 (0)