Design on Business.Entities and Entity Framework in v3.5 and v.4.0 of sample

Sep 19, 2012 at 4:06 PM

Noticed that in v4.0 no longer derive from EntityObject, as in:

namespace ExpenseSample.Business.Entities

{

   public partial class ExpenseReview

 [...]

public partial class ExpenseReview : global::System.Data.Objects.DataClasses.EntityObject

 

Can you explain design difference and reasons?

Coordinator
Sep 26, 2012 at 1:04 PM

Hi,

Are you referring to the sample versions? The 3.5 version is using LINQ2SQL whereas the 4.0 version is using EF :) 

Hugs,
Serena