Exemplo n.º 1
0
 public void Save(ArticleAccountingPriceIndicator value)
 {
     CurrentSession.SaveOrUpdate(value);
 }
Exemplo n.º 2
0
 public void Delete(ArticleAccountingPriceIndicator value)
 {
     CurrentSession.Delete(value);
 }
        /// <summary>
        /// Добавление показателя
        /// </summary>
        public void Add(DateTime startDate, DateTime?endDate, short storageId, int articleId, Guid accountingPriceListId, Guid articleAccountingPriceId, decimal accountingPrice)
        {
            var indicator = new ArticleAccountingPriceIndicator(startDate, endDate, storageId, articleId, accountingPriceListId, articleAccountingPriceId, accountingPrice);

            articleAccountingPriceIndicatorRepository.Save(indicator);
        }