guids code first ctp5
-
- Posts: 8
- Joined: Mon 28 Feb 2011 22:34
guids code first ctp5
I am getting the following error with EF4 code first ctp5 and dotConnect for SQLite:
System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.Byte[]'.
Is there anything that needs to be done to save Guid to SQLite through dotConnect? When I exclude this property from my class, everything works perfectly. The properties are all mapped, the table gets created. No problems. But I have to be able to save a Guid.
System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.Byte[]'.
Is there anything that needs to be done to save Guid to SQLite through dotConnect? When I exclude this property from my class, everything works perfectly. The properties are all mapped, the table gets created. No problems. But I have to be able to save a Guid.
-
- Posts: 8
- Joined: Mon 28 Feb 2011 22:34
-
- Posts: 8
- Joined: Mon 28 Feb 2011 22:34
The new build of dotConnect for SQLite 3.10.135 is available for download now. This build fixes the problem.
It can be downloaded from Download Page (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to this announcement.
It can be downloaded from Download Page (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to this announcement.