title: Change Tracking with DTO to POCO Entity Framework 4/4.1
body: <p>I've used Entity Framework 4.0 POCO entities for persistence layer in the current project.</p>
  
  <p>I've used DTO's to send the data from Service Layer to UI Layer. Repositories and inside of Service Layer have used POCO.</p>
  
  <p>There is a Mapping Layer to map (DTO to Domain(POCO) and (Domain(POCO) to DTO). At the moment, we manually track the changes. </p>
  
  <p>For example, If entity id is zero we assume that entity is a new one and if not entity is an update.  </p>
  
  <p>Is there any way to achieve this other than implementing IsTransient(New), IsDirty(Update) or IsDeleted(Delete) properties manually in Entity Framework 4.0?</p>