Custom DataProvider

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
listonic
Posts: 39
Joined: Mon 06 Dec 2010 15:47

Custom DataProvider

Post by listonic » Mon 05 Sep 2011 13:05

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

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Fri 09 Sep 2011 16:49

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?

Post Reply