narsil/Tanshu.Accounts.Contracts/Service Contracts/ProductBI.cs

32 lines
973 B
C#
Raw Normal View History

2010-03-02 17:56:21 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.Data.SqlClient;
namespace Tanshu.Accounts.Contracts
{
[ServiceContract]
public interface IProductBI
{
[OperationContract]
bool Insert(ProductBO product);
[OperationContract]
bool Update(ProductBO product);
[OperationContract]
bool Delete(Guid productID);
[OperationContract]
ProductBO GetProductFromName(string nameAndUnits);
[OperationContract]
ProductBO GetProduct(Guid productID);
[OperationContract]
decimal GetProductStock(DateTime date, Guid productID, Guid? voucherID);
[OperationContract]
List<ProductDisplayBO> GetProducts();
[OperationContract]
List<ProductDisplaySmallBO> GetFilteredProducts(Dictionary<string, string> filter);
[OperationContract]
List<ProductTypeBO> GetProductTypes();
}
}