1

I am trying to create entities out of a SQLite database. SQLite doesnt have foreign keys, therefore I cannot map associations between entities. Is there a way to map them somehow?

2 Answers 2

4

SQLite 3.6.19 supports foreign keys.

http://www.sqlite.org/draft/foreignkeys.html

Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.