public void UpdateRepository(WarehouseLocationType itemType)
 {
     if (_repositoryContext.GetEntityDescriptor(itemType) != null)
     {
         itemType.LastModifiedBy        = XERP.Client.ClientSessionSingleton.Instance.SystemUserID;
         itemType.LastModifiedByDate    = DateTime.Now;
         _repositoryContext.MergeOption = MergeOption.AppendOnly;
         _repositoryContext.UpdateObject(itemType);
     }
 }