rgonek / Ilaro.Admin

Generic admin panel for ASP.NET MVC.
http://admin.ilaro.net/
MIT License
131 stars 36 forks source link

Request to be able to display any field of a related entity #35

Open arsinclair opened 4 years ago

arsinclair commented 4 years ago

Description

Currently if we have Entity A and Entity B, and Entity A has a field with a Foreign Key relationship to Entity B, in the Results Table of an Entity A, it is possible to display only the ID of an Entity B.

This feature request is about being able to display not just ID of a related entity, but any field, or at least the description, because the ID is generally not very informative.

Example (from the Northwind database):

  1. Entity A = Order
  2. Entity B = Employee
  3. So every order has an employee attached to it
  4. Currently, in the Orders Results Table we can see the Employee Id, which is not very informative
  5. It would be great to be able to display Employee First Name + Employee Last Name
  6. It would also be great for this to be clickable, so the link would bring the user to a related entity Edit Page / View Page
Before After
Before After