I am new to Entity Framework and Linq for Entities, and I want to try LinqPad, but I cannot figure out how to connect to the edmx model that I created. I have an MVC project, and I added the Entity Data ADO.Net data model to the SQL Sever database (development server, not one on my local machine). Configured Build.Right on my surface as a designer and added a code generation element. This gave me two .tt folders, one for my dbContext class, one with all my classes.
Open LinqPad, click "Add Connection". Point to the .dll file in my bin bin folder, then in Full Type Name dbContext I select the created object. Now itβs hard for me to do this job. I point to the web.config solution file, and when I click the Test button, I get the error message "Failed to load the file or assembly" Entity Framework version = ... "and" The system cannot find the specified file. (C: \ users .. \ web.config line 9 "Any ideas?
linqpad
Alan fisher
source share