You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of .NET 6 Preview 4, new DateOnly and TimeOnly types were added. However, in EF Core 6 Preview 4 I get the following error (I use SQL Server):
System.InvalidOperationException: 'The property 'Product.DateAdd' is of type 'DateOnly' which is not supported by the current database provider. Either change the property CLR type, or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.'
The text was updated successfully, but these errors were encountered:
As of .NET 6 Preview 4, new
DateOnly
andTimeOnly
types were added. However, in EF Core 6 Preview 4 I get the following error (I use SQL Server):The text was updated successfully, but these errors were encountered: