Using 2.10.
I added a null DateTime to the order table.
I added
public DateTime myDate { get; set; }
to both Orders.cs and OrderModel.cs.
In OrderProcessingService.cs, I set the date to a non-null value when creating a new order, and I can see that it gets saved in the Order table.
However, I'm getting this error msg on the checkout/confirm page:
The changes to the database were committed successfully, but an error occurred while updating the object context. The ObjectContext might be in an inconsistent state. Inner exception message: The 'myDate' property on 'Order' could not be set to a 'null' value. You must set this property to a non-null value of type 'DateTime'.
How can I resolve this?
Thanks!!!