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:
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    serdar.genc@talentra.net created

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    We will further enhance it in the future. : )

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.