I know this is going to sound stupid, but coming from MyDac and testing Unidac I do have one puzzlement.
I dropped a TUniConnection object in my data module, set it to MySql and the rest of the MySql properties and connected just fine.
Life is good.
So if I can connect with just the connection object, what are the providers for? They don't have any properties or events and there appears to be no way to hook them to the connection object.
Anyone? Anyone at all?
Thanks in advance for sharing this basic bit of wisdom with me.
Darrel Christenson
what is a data provider?
Re: what is a data provider?
Hello,
Probably, the DataProvider adds proper data access units into the uses section of the unit.
Regards
Michal
Probably, the DataProvider adds proper data access units into the uses section of the unit.
Regards
Michal
-
DemetrionQ
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Re: what is a data provider?
Hello.
UniDAC providers components contain no properties or methods, they are designed just to add an appropriate provider unit to your project unit, without which the work with a server is impossible. For example, when you place the TMySQLUniProvider component into the form, the MySQLUniProvider unit is automatically added to the uses clause.
You can add an appropriate unit manually not using the component.
UniDAC providers components contain no properties or methods, they are designed just to add an appropriate provider unit to your project unit, without which the work with a server is impossible. For example, when you place the TMySQLUniProvider component into the form, the MySQLUniProvider unit is automatically added to the uses clause.
You can add an appropriate unit manually not using the component.