From 985815ab96634e8578d8029fc2d9c5269e2d0653 Mon Sep 17 00:00:00 2001 From: Brydon <64203620+BrydonJ@users.noreply.github.com> Date: Tue, 2 Jul 2024 10:00:21 +0200 Subject: [PATCH] Update stored-procedures.md --- MyApp/_pages/ormlite/stored-procedures.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MyApp/_pages/ormlite/stored-procedures.md b/MyApp/_pages/ormlite/stored-procedures.md index cfcba1d4cd..bad50a10aa 100644 --- a/MyApp/_pages/ormlite/stored-procedures.md +++ b/MyApp/_pages/ormlite/stored-procedures.md @@ -36,8 +36,8 @@ var results = await db.SqlListAsync("spSearchLetters", ```csharp using var cmd = db.SqlProc("spSearchLetters", new { pLetter = "C" })); -var rows = await cmd.ConvertToList(); -var ints = await cmd.ConvertToList(); +var rows = cmd.ConvertToList(); +var ints = cmd.ConvertToList(); ``` ## Stored Procedures with output params @@ -77,4 +77,4 @@ var total = pTotal.Value; More examples can be found in: - [CustomSqlTests.cs](https://github.com/ServiceStack/ServiceStack/blob/main/ServiceStack.OrmLite/tests/ServiceStack.OrmLite.SqlServer.Tests/CustomSqlTests.cs) - - [CustomSqlTestsAsync.cs](https://github.com/ServiceStack/ServiceStack/blob/main/ServiceStack.OrmLite/tests/ServiceStack.OrmLite.Tests/Async/CustomSqlTestsAsync.cs) \ No newline at end of file + - [CustomSqlTestsAsync.cs](https://github.com/ServiceStack/ServiceStack/blob/main/ServiceStack.OrmLite/tests/ServiceStack.OrmLite.Tests/Async/CustomSqlTestsAsync.cs)