Open Closed

How to Configure a Self Referencing Entity in ABP Suite ? #1171


0
[email protected] created

Does it support for navigation property abp suite? but I could not do it either.

like:

public class Employee { #region Properties

public int EmployeeID { get; set; } public string FirstName { get; set; } public string LastName { get; set; }

public int? ManagerID { get; set; } public Employee Manager { get; set; }

#endregion }

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

4 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    I think suite doesn't support that relationship for now.

    https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page#navigation-properties

  • 0
    [email protected] created

    Hi there. Abp Suite is good tool. but i think, it needs further development.

  • 0
    maliming created
    Support Team

    We will further enhance it in the future. : )

  • 0
    abpVAndy created

    The Navigation Property created by Abp Suite, will created another entity named xxxWithNavigationProperties??

    Abp Suite will not create navigation property in the existing entity?

    thx