Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

DateTime2 error in EF Blazor Web Application

[Column(TypeName ="datetime2")]
public DateTime TestDate { get; set; }

[Column(TypeName ="datetime")] // Not needed by default
public DateTime AnotherTestDate { get; set; }
Source by github.com #
 
PREVIOUS NEXT
Tagged: #error #EF #Blazor #Web #Application
ADD COMMENT
Topic
Name
2+1 =