I wound up just changing the JetDbConnection to inherit from DbConnection (instead of IDbConnection) and added implicit casting support. I only needed retrieval from the access db, and this is working well enough for that.
On Jun 29, 4:19 pm, Berryl Hesh <[email protected]> wrote: > Hello: > > I'm getting a problem with a legacy access db I need to support, and > which used to work with Jet Driver. The error is: > > System.InvalidCastException : Unable to cast object of type > 'NHibernate.JetDriver.JetDbConnection' to type > 'System.Data.Common.DbConnection' > > I downloaded the latest cut from NContrib but no help there. Does > anyone have a clue how to fix this? > > Thannks, > Berryl > > PS if there a more appropriate forum to post this on please let me > know. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
