Page 1 of 1

linq to mysql and System.Data.Linq.DataContext

Posted: Thu 22 Jan 2009 20:16
by KW
Is there anyway to convert the DataContext generated by the entity developer to a System.Data.Linq.DataContext?

I want to use CSLA ( a business objects framework ) with mysql as the data access layer. However, one of the classes insists on using the System.Data.linq.DataConext.

The error I receive is " There is no implicit reference conversion from "DataContext.DataContext" to 'System.Data.Linq.DataContext"

Is there anyway to implement a conversion of some sort? Or does the CSLA code need to extend to include your class?

Posted: Fri 23 Jan 2009 09:46
by AndreyR
Unfortunately, we have no technical possibility to implement such a conversion.
But you can contact CSLA .NET developers on the question of adding other data contexts support.