The DbContext API captures Entity Framework's (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker A
Programming Entity Framework: DbContext
β Scribed by Julia Lerman, Rowan Miller
- Publisher
- O'Reilly Media
- Year
- 2012
- Tongue
- English
- Leaves
- 256
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
The DbContext API captures Entity Frameworkβs (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change Tracker API, and validate changes to your data with the Validation API.
With DbContext, youβll be able to query and update data, whether youβre working with individual objects or graphs of objects and their related data. Youβll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics.
- Use EFβs query capabilities to retrieve data, and use LINQ to sort and filter data
- Learn how to add new data, and change and delete existing data
- Use the Change Tracker API to access information EF keeps about the state of entity instances
- Control change tracking information of entities in disconnected scenarios, including NTier applications
- Validate data changes before theyβre sent to the database, and set up validation rules
- Bypass EFβs query pipeline and interact directly with the database
π SIMILAR VOLUMES
If you use Entity Framework in Visual Studio 2008 and .NET 3.5, this is the book you want. Programming Entity Framework, 1st Edition offers experienced developers a thorough introduction to Microsoft's core framework for modeling and interacting with data in .NET applications. This hands-on tour pro
If you use Entity Framework in Visual Studio 2008 and .NET 3.5, this is the book you want. Programming Entity Framework, 1st Edition offers experienced developers a thorough introduction to Microsoft's core framework for modeling and interacting with data in .NET applications. This hands-on tour pro
Take advantage of the Code First data modeling approach in ADO.NET Entity Framework, and learn how to build and configure a model based on existing classes in your business domain. With this concise book, youβll work hands-on with examples to learn how Code First can create an in-memory model and da
Take advantage of the Code First data modeling approach in ADO.NET Entity Framework, and learn how to build and configure a model based on existing classes in your business domain. With this concise book, youβll work hands-on with examples to learn how Code First can create an in-memory model and da