ldj/WcfService1/ILotService.cs

42 lines
1.3 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
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);
}
}