How to do this using Fluent API configuration?
[DataType(DataType.Date),
Display(Name = "Hire Date"),
DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}",
ApplyFormatInEditMode = true)]
I don’t know how to do this using Fluent API configuration.
You didn’t post any EF code and the title says nothing at all. What you posted are data annotation attributes used to display data in desktop or web applications. They have nothing to do with EF