This is useful when the database type is not storing the time. You can add these attributes to the Property in the enity:
[AB_ApplyDateFormat]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)]
This is useful when the database type is not storing the time. You can add these attributes to the Property in the enity:
[AB_ApplyDateFormat]
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)]