I am trying to create entities out of a SQLite database. SQLite doesnt have foreign keys, therefore I cannot map associations between entities. Is ther开发者_如何学JAVAe a way to map them somehow?
SQLite 3.6.19 supports foreign keys.
http://www.sqlite.org/draft/foreignkeys.html
Actually previous versions do "support" foreign keys, but it doesn't enforce them. This means that you can declare the foreign keys and the EF designer will pick up the entity relationships.
精彩评论