Entity Framework Cheatsheet

This is my cheatsheet for using Microsoft's Entity Framework API.

(The existence of this page should not be taken as an endorsement of Entity Framework. It's not something you should learn more about if you don't have to. It's just another complicated ORM framework with its own quirks and annoyances.)

Documentation

  • MSDN: http://msdn.microsoft.com/en-us/library/bb399572
  • Managing Connections and Transactions: http://msdn.microsoft.com/en-us/library/bb896325
  • Performance Considerations: http://msdn.microsoft.com/en-us/library/cc853327.aspx
  • Troubleshooting Connection Strings: http://blogs.teamb.com/craigstuntz/2010/08/13/38628/

Code Snippets

© 2003-2023 Kristopher Johnson