Chapter 7. Working with Object Services

This chapter contains a rather eclectic collection of recipes that provide practical solutions to common problems in real-world applications. We build our applications to tolerate changes in deployment environments and make our applications flexible enough so that few if any configuration details need to be hard-coded. The first three recipes provide you with tools to meet these challenges.

The remaining recipes cover topics such as Entity Framework's Pluralization Service, using the edmgen.exe utility, working with identifying relationships, and retrieving objects from an object context.

Dynamically Building a Connection String

Problem

You want to dynamically build the connection string for your application. ...

Get Entity Framework 4.0 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.