Hello. I'm trying to bind my own objects to a win control.
The problem is that when i create a datasource, it only exposes the base class fields. Let me try to explain:
public class Entities : IList<Entity>
public class Entity
{
public int databaseId;
public int quantity;
}
public class Component : Entity
{
public string code;
}
|
In datasource creation wizard i select Entities class. It successfully recognizes databaseId and quantity fields, but doesn't see the code field. I want to have a control, that displays databaseId, quantity and, if it's a Component, code. Is this possible? Thank you.