Commit e40f433
committed
Grouped
In practice, the parameters can be set in any order—they needn't map to the order used in the stored procedure(s). This allows us to use more natural grouping.
For instance, instead of checking `isNew` twice, we can just place both `CreateTopic` parameters within a single `isNew` condition.
Also moved `@Attributes` to the end since doesn't use the `AddParameter()` overload and, thus, doesn't align nicely with the other parameters.Save() parameters1 parent 9f0fdbc commit e40f433
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 349 | | |
353 | 350 | | |
| 351 | + | |
354 | 352 | | |
355 | 353 | | |
356 | 354 | | |
| |||
0 commit comments