I am trying to make a simple CRUD code testing application that we wrote. I want the data entry user interface to be dynamically built from the object that is being entered.
For example, if it is an ICustomer object that has properties for Name, a collection of IOrders, and some other properties. Definitions for this interface exist in a separate dll.
Could you offer me a good approach to use to achieve this? I might think about using Reflection to dynamically create a user interface (via code instead of XAML). Would this be good practice?
source
share