Replies: 1 comment 2 replies
-
The navigation properties are virtual relationships at the code layer, and the CodeFirst API does not create physical foreign keys for the database layer. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Could anyone provide me an info, how to implement REFERENCES DDL statemens for postgre accordingly to navigation settings?
I have two classes (for example):
I have the navigation set with fluent syntax:
Next, using fsql.CodeFirst.GetComparisonDDLStatements I get:
And the question: where is REFERENCES or specific FOREIGN KEY constraint for account table? What I'm doing wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions