You must set this property to a non-null value of type ‘System.Int64’.
Recently I encountered following problem in C#.
1 2 |
System.InvalidOperationException was unhandled by user code Message: The 'Id' property on 'SomeDAO' could not be set to a 'System.Decimal' value. You must set this property to a non-null value of type 'System.Int64'. |
This error is pretty obvious in certain context, but if you don’t read it carefully enough, in some situations you might get… Read more »