You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,10 @@ As you can see in the example above BlazorDB will detect associations added to t
163
163
164
164
**Note:** At this time removing/deleting is not done automatically and needs to be done manually. A future update of BlazorDB will handle deletions properly.
165
165
166
+
## Validations
167
+
168
+
You can annotate your model's propeties with `[Required]` and `[MaxLength(int)]` to enforce required and max length on properties.
169
+
166
170
## Example
167
171
168
172
A Todo sample built with BlazorDB is included in the sample project:
0 commit comments