Hello all,
The ObjectDataSource control uses reflection to create instances of business
components and call the appropriate methods to select, update,... data.
How can I use the ObjectDataSource control if I don't want to allow it to
instantiate the businesscomponents directly but use a ComponentFactory which
takes care of creating components. How can I use the ObjectDataSource
control with this factory. The code to create the component and obtain a
collection of business objects looks somewhat like this.
ICustomerComponent component = ComponentFactory().CreateCustomerCompoment();
ArrayList customers = customer.ReadCustomers();
Is this possible with the objectdatasource?
Kind Regards,
Kristof