I’m trying to save Linq to SQL DateTime field which has year, month, day, hour, minute, but only year, day, month is getting saved on the server, hour and minute is saved to SQL as 00:00. The format of the field in the DB is datetime, linq to sql is DateTime.
My date is well parsed by this code:
DateTime tosave = new DateTime(x.Year, x.Month, x.Day,x.Hour, x.Minute, x.Second);
I receive no errors on SubmitChanges();
If it was date and you changed it to datetime try removing the table from the context file and re-drag it again.
Save and try again