it:ad:ddd:validation

IT:AD:DDD:Validation


Summary

  • Validation on CodeFirst should not be done as Attributes (they drag in a reference to EF, which make the stack not Persistent Ignorant).
  • Instead, use Fluent Validation when overridding OnModelCreating() in the custom DbContext.
  • /home/skysigal/public_html/data/pages/it/ad/ddd/validation.txt
  • Last modified: 2023/11/04 03:23
  • by 127.0.0.1