I know there are a lot of questions like this asked, but I can't seem to find one that fits my scenario. I'm using Entity Framework, Database First (my database already existed when I decided to start using EF). I'm creating my edmx file, loading the correct tables into my model. However, I keep getting an "Invalid Column Name" error when I try to perform a query for a specific table through Entity Framework.
Using SQL Server Profiler, I see that the query is syntactically correct (I can run the query myself through SQL Server Management Studio), so I have no idea why this could be happening.
Any ideas? Thanks in advance.
EDIT: This isn't a SQL Exception, it's a System.Data.EntityCommandExecutionException