public void InsertEntityWithNullFacetValuesForTimestampComparison(EntityWithNullFacetValuesForTimestampComparison entityWithNullFacetValuesForTimestampComparison) { if ((entityWithNullFacetValuesForTimestampComparison.EntityState != EntityState.Detached)) { this.ObjectContext.ObjectStateManager.ChangeObjectState(entityWithNullFacetValuesForTimestampComparison, EntityState.Added); } else { this.ObjectContext.EntitiesWithNullFacetValuesForTimestampComparison.AddObject(entityWithNullFacetValuesForTimestampComparison); } }
public void UpdateEntityWithNullFacetValuesForTimestampComparison(EntityWithNullFacetValuesForTimestampComparison currentEntityWithNullFacetValuesForTimestampComparison) { this.ObjectContext.EntitiesWithNullFacetValuesForTimestampComparison.AttachAsModified(currentEntityWithNullFacetValuesForTimestampComparison); }