Unrecognized attribute 'name' error when running linq command

后端 未结 3 1436
萌比男神i
萌比男神i 2021-01-15 04:21

I am using Entity Framework 6 in my APS.NET 4.5 web application.

When running the following command:

using (var db = new booksEnteties())
{
    var          


        
3条回答
  •  半阙折子戏
    2021-01-15 05:11

    The error is very specific... Its complaining about the attribute 'Name' Your problem is on this line:

    
    

    Name is invalid here, just remove it so it should be like this:

    
    

提交回复
热议问题