Answer the question
In order to leave comments, you need to log in
Why is the entity framework requesting a non-existent column?
There is a class
public partial class Users
{
public int Id { get; set; }
public string Email { get; set; }
public string Surname { get; set; }
public string Name { get; set; }
public string Post { get; set; }
public string ServerRole { get; set; }
}
exec sp_executesql N'SELECT [u].[ID], [u].[Email], [u].[Name], [u].[Post], [u].[RequestsId], [u].[Server_role], [u].[Surname]
FROM [dbo].[Users] AS [u]
WHERE [u].[Name] = @__Username_0',N'@__Username_0 nvarchar(30)',@__Username_0=N'admin'
Answer the question
In order to leave comments, you need to log in
The .edmx file must be present, so.
If found there, then you need to update the models.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question