User-729601932 posted
I use MCV.
The maximum length information for a data value is already defined in the data model.
..
entity.Property(e => e.ArtNr).HasMaxLength(25);
..
I also limit the fields in the forms (view).
<div class="form-group">
<label asp-for="ArtNr" class="control-label"></label>
<input asp-for="ArtNr" class="form-control" MaxLength="25" />
<span asp-validation-for="ArtNr" class="text-danger"></span>
</div>
I have to insert this manually. and adjust again and again with every adaptation.
Is it possible to automatically adopt these values from the data definition?