Custom DataAdapterService
Posted: Sun Apr 03, 2016 9:09 pm
Hi,
I'm using Stimulsoft Ultimate 2016.1.
I would like to implement a custom DataAdapterService in order to connect to preset datasources designed in code (e.g. services returning IEnumerable<>).
I managed to write a little sample deriving from SiUserAdapterService registered through the StiOptions.Services.DataAdapters collection (with a custom new/edit ui to pickup and configure the datasource).
I can see my custom adapter in the 'new data source' form but i can't figure out how to display a custom icon there (it seems to be hardcoded and loaded from assembly resources).
I'm not sure I'm doing it the right way, so do you have any advice, technical documentation or even better a sample of a fully integrated custom datasource ?
Thank you
I'm using Stimulsoft Ultimate 2016.1.
I would like to implement a custom DataAdapterService in order to connect to preset datasources designed in code (e.g. services returning IEnumerable<>).
I managed to write a little sample deriving from SiUserAdapterService registered through the StiOptions.Services.DataAdapters collection (with a custom new/edit ui to pickup and configure the datasource).
I can see my custom adapter in the 'new data source' form but i can't figure out how to display a custom icon there (it seems to be hardcoded and loaded from assembly resources).
I'm not sure I'm doing it the right way, so do you have any advice, technical documentation or even better a sample of a fully integrated custom datasource ?
Thank you