I am using LinqPad to query the MyISAM MySQL database. There are foreign keys, but there are no restrictions on them, so LinqPad cannot pick up relationships. I would like to add this relationship (tell me which fields are FK) to simplify the query. Is it possible?
There is no way to do this other than adding foreign key constraints. (As an interest, what is the reason for the lack of foreign key restrictions?)
If the FK settings are not set, you have only one option.
You must connect to your tables manually using LINQ.
, , "# Program" LINQ .