Saving date for EFCore 3 results in System.InvalidCastException

后端 未结 0 694
轻奢々
轻奢々 2021-02-11 12:23

I use EFCore 3.1 with Code-First. My model:

    [Required]
    [Column(TypeName = "date")]
    public DateTime MyDate{ get; set; }

When

相关标签:
回答
  • 消灭零回复
提交回复
热议问题