28 lines
803 B
C#
28 lines
803 B
C#
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);
|
|
|
|
List<ProductDisplaySmallBO> GetProducts(Guid productTypeID);
|
|
|
|
}
|
|
}
|