using System; using System.Collections.Generic; using Tanshu.Accounts.Contracts; namespace Tanshu.Accounts.DAOFactory { public interface IProductDAO : IDisposable { bool Insert(ProductBO product); ProductBO GetProduct(Guid productID); bool Delete(Guid productID); bool Update(ProductBO product); ProductBO GetProduct(string nameAndUnits); decimal GetProductStock(DateTime date, Guid productID, Guid? voucherID); List GetProducts(); void UpdateShortName(); List GetFilteredProducts(Dictionary filter); List GetProductTypes(); List GetProducts(string name, int skip, int count); } }