Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
Register
Login
2
Reply
Entity framework error when working with code first approach
Adewale Adeleye
Aug 8 2016 9:16 AM
414
Reply
Hello everyone.. I just start working with Entity Framework and i encountered an error while using code first approach. The error i get is An exception of type 'System.ArgumentException' occurred in System.Data.dll but was not handled in user code Additional information: Unable to find the requested .Net Framework Data Provider. It may not be installed. The code generating the error is public class CourseModel { public List<Course> GetCourses() { StudentDBContext studentlist = new StudentDBContext(); return employeelist.Courses.Include("Students").ToList(); } }
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
set timer on key up page load c# .nat
how to use java script ckeditor validation in mvc