How do I get the TMyConnection that EntityDac uses in the background if I have set the provider MyDac. I want as in the topic
viewtopic.php?f=7&t=44291&p=178104&hili ... 74#p178104
described, implement an automatic reconnect if a "Lost Connection" occurs. For that I need the TMyConnection instance.
Thanks in advance
EntityDac/MyDac Lost Connection
Re: EntityDac/MyDac Lost Connection
Hi!
Thanks for contacting us! Working with the TMyConnection class is done by calling EntityDAC.DataProvider.MyDAC.
This provider does not provide the ability to use the TMyConnection features you are interested in.
A possible solution is to create your own provider. Implementation examples of such providers are provided with EntityDAC :
[EntityDAC folder]\Demos\DataProviders\
Thanks for contacting us! Working with the TMyConnection class is done by calling EntityDAC.DataProvider.MyDAC.
This provider does not provide the ability to use the TMyConnection features you are interested in.
A possible solution is to create your own provider. Implementation examples of such providers are provided with EntityDAC :
[EntityDAC folder]\Demos\DataProviders\