concept OrderDetail in category .net

appears as: OrderDetail, OrderDetail
Entity Framework 4 in Action

This is an excerpt from Manning's book Entity Framework 4 in Action.

Figure 1.4. The relationship between Order and OrderDetail in the object model is expressed with properties.

You have now seen how to develop a single standalone class and how to instantiate it using data from a database, but the real power comes when you create more classes and begin to link them to each other (for instance, when you create an OrderDetail class that contains data from the OrderDetail table).

var details = ctx.ExecuteStoreQuery<OrderDetail>
  ("Select * from OrderDetail");