No data returned using EF 6
Greetings,
I have pointed Linqpad to my DLL containting the DBContext and the web.config containing the connection. I see the complete information about the entity and can run queries against it without error. The problem is that no data is ever returned; always returns zero rows. I wonder if it has to do with that a connection factory is used and there is no defined connection string? Please advise.
Brett
I have pointed Linqpad to my DLL containting the DBContext and the web.config containing the connection. I see the complete information about the entity and can run queries against it without error. The problem is that no data is ever returned; always returns zero rows. I wonder if it has to do with that a connection factory is used and there is no defined connection string? Please advise.
Brett
Comments
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
and:
this.Database.Connection.ConnectionString