Skip to content

Commit

Permalink
Merge pull request #5 from BrydonJ/patch-1
Browse files Browse the repository at this point in the history
Update stored-procedures.md
  • Loading branch information
mythz authored Jul 2, 2024
2 parents 2a4b560 + 985815a commit 4146d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MyApp/_pages/ormlite/stored-procedures.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ var results = await db.SqlListAsync<LetterFrequency>("spSearchLetters",
```csharp
using var cmd = db.SqlProc("spSearchLetters", new { pLetter = "C" }));

var rows = await cmd.ConvertToList<LetterFrequency>();
var ints = await cmd.ConvertToList<int>();
var rows = cmd.ConvertToList<LetterFrequency>();
var ints = cmd.ConvertToList<int>();
```

## Stored Procedures with output params
Expand Down Expand Up @@ -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)
- [CustomSqlTestsAsync.cs](https://github.com/ServiceStack/ServiceStack/blob/main/ServiceStack.OrmLite/tests/ServiceStack.OrmLite.Tests/Async/CustomSqlTestsAsync.cs)

0 comments on commit 4146d43

Please sign in to comment.