Page 1 of 1

Custom DataProvider

Posted: Mon 05 Sep 2011 13:05
by listonic
I want to create a custom dataprovider and use Custom Connection object which implements IDbConnection interface.

The problem is that LinqConnect seems to cast my ConnectionObject to DbConnection object in DataProvider.ExecuteQuery method.

Is it possible to use the Custom Connection Object which does not iherit from DbConnection but only implements IDbConnection interface ?

Regards
Piotr Wójcicki

Posted: Fri 09 Sep 2011 16:49
by StanislavK
Sorry for the delay. Could you please specify the type of the connection you are trying to use and describe the purpose of defining a custom prover class? If this related to the functionality you are mentioning in the other post?