EF OData MySql Unknown column 'Project3.x' in 'where clause'
问题 I'm using OData V4, EF6 and MySql 5.6/5.7 With below models and tables. I get the result of the Application resource fine with this call odata/Applications but I get this error when I expand on roles, as follows odata/Applications?$expand=roles. Error: An error occurred while executing the command definition. See the inner exception for details. Unknown column 'Project3.ApplicationId' in 'where clause' I know it's something with mapping, but I can't see what. public class Role { public int Id