You are implementing a method that creates Entity Framework self-tracking entities. The method submits these entities to a WCF Service method that uses Entity Framework to add the entities to a data source. After you submit the entities, you need to ensure that the entity state indicates no changes.

The AcceptChanges method clears the change-tracking information for an entity and changes its state to Unchanged.

The StartTracking method instructs the change tracker on the entity to start recording any changes applied to the entity. This includes changes to scalar properties, collections, and references to other entities. This method does not reset the entity state to Unchanged.