Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Entity framework error when working with code first approach
Adewale Adeleye
8 years ago
417
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(); } }
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