LinqConnect: LINQ to Dataset
Posted: Wed 22 Aug 2012 16:24
I've been trying to find documentation in how to create my own DataProvider to extend the base provider class, to utilize a mock database connection, and to use it as a ProviderAttribute in the declaration of the mock DataContext, but I have no luck. This way, I can wrap Devart LinqConnect to build data on a DataSet using .NET via the same Linq codes, so that I do not need to change my Linq codes for the work around. I would like to utilize the models and the data context (as well as the Devart Linq inheritances) generated by Entity Developer and will still work with the standard DataSet, which will be created from the models. This way, I can use Linq in continuous unit tests, where database will not be available.
Is this even possible?
Is this even possible?