[Column(TypeName ="datetime2")] public DateTime TestDate { get; set; } [Column(TypeName ="datetime")] // Not needed by default public DateTime AnotherTestDate { get; set; }