public void AddToRepository(PlantCode itemCode) { _repositoryContext.MergeOption = MergeOption.AppendOnly; _repositoryContext.AddToPlantCodes(itemCode); }