Model Domain Objects with the Entity Framework: Figure 2: Go with the Entity Framework's Data and Command Flow.
This diagram shows the data path from the relational data store through the Entity Framework-enabled ADO.NET .NET data provider and the tri-level mapping from the logical to the conceptual form that's processed by the Entity Client. The Entity Client accepts EntityCommands as Entity SQL strings and sends them to the data provider in the form of Canonical Command Trees (CCTs). The data provider manages the database connection and translates the CCTs to its particular SQL syntax. Entity SQL commands in the form of ObjectQueries or LINQ to Entities also send CCTs and return business objects to a data access or presentation layer as IEnumerable<T> sequences.