Skip to content

Commit 9eb8497

Browse files
committed
tweaks
1 parent 7ec6a3b commit 9eb8497

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MyApp/_pages/autoquery/crud.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ We can then create a base Request DTO that all Audit Create Services will implem
302302
[AutoPopulate(nameof(IAudit.ModifiedInfo), Eval = "`${userSession.DisplayName} (${userSession.City})`")]
303303
public abstract class CreateAuditBase<Table,TResponse> : ICreateDb<Table>, IReturn<TResponse> {}
304304
```
305+
306+
The `*Info` examples is a superfluous example showing that you can evaluate any `#Script` expression. Typically you'd only save User Id or Username.
307+
305308
These all call [#Script Methods](https://sharpscript.net/docs/methods) which you can [add/extend yourself](https://sharpscript.net/docs/script-pages#extend), e.g:
306309

307310
```csharp
@@ -333,8 +336,6 @@ public class CreatePost : ICreatDb<Post>, IReturn<IdResponse>
333336
}
334337
```
335338

336-
The `*Info` examples is a superfluous example showing that you can basically evaluate any `#Script` expression. Typically you'd only save User Id or Username
337-
338339
### AutoPopulate
339340

340341
The `[AutoPopulate]` attribute tells AutoCrud that you want the DB Table to automatically populate these properties, which can be populated using any of its

0 commit comments

Comments
 (0)