This workshop will be retired on May 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Let's look at a technique for using Entity Framework to retrieve a large number of records.
Using ADO.NET to Query for a Large Number of Records
In some situations, disabling entity tracking still won't give you the necessary performance. When that happens, you can fallback to using an ADO.NET DataReader. For information (including code examples) on how to do this, see this article on Microsoft's official docs:
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up