I have problem with creating column in EntityFamework with Time type I am able to create columns with types like : string, int, DateTime without problems.
But how to create column with Time type?
public class OrdinacniHodiny : ValidityEntity<long>
{
[Required]
//[Required, DisplayFormat(DataFormatString = "{hh:mm}")]
public Time CasOd { get; set; }
/// <summary>
/// Required
///
/// formát hh:mm
/// </summary>
[Required]
public DateTime CasDo { get; set; }
}