Open Closed

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


User avatar
0
serdar.genc@talentra.net 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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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

  • User Avatar
    0
    serdar.genc@talentra.net created

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

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    We will further enhance it in the future. : )

  • User Avatar
    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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54