narsil/Tanshu.Accounts.Contracts/DAOFactory/ProductDAO.cs

28 lines
803 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
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<ProductDisplayBO> GetProducts();
void UpdateShortName();
List<ProductDisplaySmallBO> GetFilteredProducts(Dictionary<string, string> filter);
List<ProductDisplayBO> GetProducts(string name, int skip, int count);
2011-01-09 23:36:24 +00:00
List<ProductDisplaySmallBO> GetProducts(Guid productTypeID);
2010-03-02 17:56:21 +00:00
}
}