Wednesday, May 16, 2012
Visual Studio Lightswitch v2 issue
If you import a datasource with a table named Systems, it will not complain until compile time, when it says "no such object System.CodeDom...". Basically it is a name collision.
Saturday, April 21, 2012
"Can not insert NULL into column" when SaveChanges in Entity Framework
It is a strange error as the value is obviously set in the POCO used. The reason is the model created marked the column as 'Identity', which causes EF to insert a NULL and try to get the value back from database. If you use SQL Profiler, you can see the behavior clearly.
Thursday, January 26, 2012
Subscribe to:
Posts (Atom)