ldj/WcfService1/ILotService.cs

55 lines
1.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
namespace DeiNiu.Wcf
{
// 注意: 使用“重构”菜单上的“重命名”命令可以同时更改代码和配置文件中的接口名“ILotService”。
[ServiceContract]
public interface ILotService
{
[OperationContract]
DataSet queryLots(string querystr, int rownumStart, int rownumEnd);
[OperationContract]
int newLot(WcfLot wcfLot);
[OperationContract]
int updateLot(WcfLot wcfLot);
[OperationContract]
int deleteLot(WcfLot wcfLot);
[OperationContract]
int newLotAtt(WcfLotAtt wcfLotAtt);
[OperationContract]
int updateLotAtt(WcfLotAtt wcfLotAtt);
[OperationContract]
int deleteLotAtt(WcfLotAtt wcfLotAtt);
[OperationContract]
DataTable querySkuValues(int skuId);
[OperationContract]
DataTable queryLotAtts(int lotId);
[OperationContract]
DataTable getLotAtts(string goodsId);
[OperationContract]
int getSKU(string skuCode, Dictionary<string, string> skuValues, int lotId, string goodsId, string ownerCode);
[OperationContract]
DataTable getLotGoodsType(int lotId);
[OperationContract]
DataTable getFreeGoodsType();
[OperationContract]
bool newGoodTypeLot(int[] goodsType,int lotId);
[OperationContract]
bool deleteGoodTypeLot(int id);
}
}