Skip to content

Commit fcbac03

Browse files
Update comments
1 parent 71926d6 commit fcbac03

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

EntityFrameworkExtras.Shared/DatabaseExtensions.EFCore3x.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static IEnumerable<T> ExecuteStoredProcedure<T>(this DatabaseFacade datab
111111
}
112112

113113
/// <summary>
114-
/// Executes the specified stored procedure against a database asyncrounously
114+
/// Executes the specified stored procedure against a database asynchronously
115115
/// and returns an enumerable of T representing the data returned.
116116
/// </summary>
117117
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>

EntityFrameworkExtras.Shared/DatabaseExtensions.NetFramework.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ public static void ExecuteStoredProcedure(this Database database, object storedP
3838
SetOutputParameterValues(info.SqlParameters, storedProcedure);
3939
}
4040

41-
public static IEnumerable<T> ExecuteStoredProcedure<T>(this Database database, object storedProcedure)
41+
/// <summary>
42+
/// Executes the specified stored procedure against a database.
43+
/// </summary>
44+
/// <param name="database">The database to execute against.</param>
45+
/// <param name="storedProcedure">The stored procedure to execute.</param>
46+
public static IEnumerable<T> ExecuteStoredProcedure<T>(this Database database, object storedProcedure)
4247
{
4348
if (storedProcedure == null)
4449
throw new ArgumentNullException("storedProcedure");
@@ -67,7 +72,7 @@ public static T ExecuteStoredProcedureFirstOrDefault<T>(this Database database,
6772
}
6873
#if NET45
6974
/// <summary>
70-
/// Executes the specified stored procedure against a database
75+
/// Executes the specified stored procedure against a database asynchronously
7176
/// and returns an enumerable of T representing the data returned.
7277
/// </summary>
7378
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>
@@ -104,7 +109,7 @@ public static async Task<T> ExecuteStoredProcedureFirstOrDefaultAsync<T>(this Da
104109
}
105110

106111
/// <summary>
107-
/// Executes the specified stored procedure against a database asyncrhousnouly
112+
/// Executes the specified stored procedure against a database asynchronously
108113
/// and returns the first or default value
109114
/// </summary>
110115
/// <typeparam name="T">Type of the data returned from the stored procedure.</typeparam>
@@ -126,6 +131,6 @@ public static async Task<IEnumerable<T>> ExecuteStoredProcedureAsync<T>(this Dat
126131
return result;
127132
}
128133
#endif
129-
}
134+
}
130135
}
131136
#endif

0 commit comments

Comments
 (0)