I have two tables A and B in my db with a foreign key in between. Table A has PrimaryKey and UniqueKey. Table B refers to table A using UniqueKey. If I generate an ef model from the database, an association between A and B is not created, and I could not find a way to manually add the association. However, Linq2Sql recognizes the relationship as expected. Any ideas?
source
share