[Vuejs]-.NET Core DateTime doesn't correctly insert/update DateTime column in SQL Server

1👍

Well eVolve was on the rigt track I guess, I just checked the model back and I had

entity.Property(e => e.LastModified)
                .HasColumnName("lastModified")
                .HasColumnType("date");

Instead of

entity.Property(e => e.LastModified)
                .HasColumnName("lastModified")
                .HasColumnType("datetime2");
👤Ringer

Leave a comment