locked
Error 3 'Category.Id.get' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors RRS feed

  • Question

  • User-1499457942 posted

    Hi

      Id is defined as Identity value in Database. on the below line it gives above error

    public int Id { get; set; }

    Thanks

    Sunday, July 29, 2018 11:02 AM

Answers

  • User-1499457942 posted

    Resolved. 

    public int Id { get; set; } . Line is correct

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 29, 2018 11:53 AM

All replies