Value cannot be null. Parameter name: entitySet

前端 未结 12 1831
夕颜
夕颜 2020-12-03 17:02

I have a fairly standard setup with simply POCO classes

public class Project
{

    public int ProjectId { get; set; }
    public string Name { get; set; }
          


        
12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 17:40

    Remove the line EntityModelCodeGenerator from your project file.

    Check out this https://www.c-sharpcorner.com/UploadFile/5d065a/poco-classes-in-entity-framework/

提交回复
热议问题