I am trying to use EF 4.1 with LINQPad, but when I run the query, I get the following error:
MethodAccessException: An attempt using the 'LINQPadDbConnectionFactory.CreateConnection (System.String)' method to access the 'LINQPad.Extensibility.DataContext.EntityFrameworkDbContextDriver.CreateFactoryConnection (System.String, System.Object)' method failed.
Any ideas?
This is similar to a bug in the new LINQPad EF driver, which has been reorganized to use Reflection.Emit to work correctly with EF versions (4.1 and 4.2). I think I tracked it: try build 4.37.8 and let me know.
Source: https://habr.com/ru/post/1386148/More articles:XPath to find all of the following siblings until the next sibling of a certain type - ruby ββ| fooobar.comHow can you perform various logarithmic functions of a base in Javascript? - javascriptxpath to find all the following neighboring nodes of the cathedral to another type - ruby ββ| fooobar.comCan I redesign the application for IIS and Azure? - iisHow can I display local HTML in a Windows web browser? - htmlTSQL for XML attribute PATH is included, type - xmlPlaying Music Using AudioTrack Buffer by Eclipse Buffer - No Sound - androidEmulate Xbox 360 Controller with Mobile Phone - xbox360Which hg command only displays headers in the system? - mercurialXML file inside HDF5, h5py - pythonAll Articles