I we are using a bound data object which was created by entity framework, same an Employee class. How do we use it with the class created to hold the form validation rules which are bound to the controls?
This forum post helped a lot, but the form controls are bound to the Employee class in the razor page and not the Employee class of my data access lay (EF Core) which is also called Employee.
I realize I can map between the two, but that basically makes the ease of using binding harder. Thanks for the help.