Entity Framework Core Scaffold-DbContext RRS feed

  • Question

  • User-305496339 posted

    When I run the scaffold-dbconcontext command, for some reason it only created the primary key property of one of my models and omitted the other properties of this model. Do I need to set a parameter with the command to create all of the properties of the model? Thanks !

    Wednesday, December 26, 2018 7:47 PM

All replies

  • User1724605321 posted

    Hi rkrex,

    Could you please provide more details about your scenario , such as the database structure , version to help reproduce your issue . 

    Best Regards,

    Nan Yu

    Thursday, December 27, 2018 9:12 AM
  • User-305496339 posted

    Could you please provide more details. I don't understand what you mean by database structure and version.

    Best Regards,


    Thursday, December 27, 2018 4:41 PM
  • User-305496339 posted

    It's  just a table with two fields....ID and State. Version is entity framework core 2.2

    Thursday, December 27, 2018 5:40 PM