public void AddToRepository(WarehouseLocationBin item) { item.CompanyID = XERP.Client.ClientSessionSingleton.Instance.CompanyID; _repositoryContext.MergeOption = MergeOption.AppendOnly; _repositoryContext.AddToWarehouseLocationBins(item); }