I am porting our product's database to SQLite from another product that supported Guids. As we know, SQLite does not support Guids. I've got created an entity framework 6 model from my database (database first) and I need to build a query from C# that compares the Guid to one passed from the code.
The thing is I can't find any documentation on how the SQLite Entity Framework provider handles Guids. A web search didn't find anything useful for me, either. Just questions about using Entity Framework with SQLite.
Can anybody point me to the documentation, or maybe tell me how to work with Guids in a SQLite database through an EF6 model?
BLOBworks perfectly fine. Don't know much about Entity Framework, but it seems type converters (beyond enums) will be only in EF 7. But GUID has a CTor from byte array etc, so it might be pretty straightforward.Byte[]and the thing on the right is aGuid. The code in question has to run on our client (the code I'm working on) with SQLite, and on our server, where the database is SQL Server. The expression string can't change. I have to do something on the SQLite side to make the comparison work. I just don't know what. That's why I'm looking for the documentation.byte[], but the thing being compared is aGuid.I can't seem to find any documentation and the lack of Guid support is killing me.