/******************************************************************************* * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential * 类的信息: * 1.程序名称:SAPDataModuleProxy.cs * 2.功能描述:SAP数据接口 * 编辑履历: * 作者 日期 版本 修改内容 * 宋扬 2014/11/08 1.00 新建 *******************************************************************************/ using System.Data; using Dongke.IBOSS.PRD.WCF.DataModels; using Dongke.IBOSS.PRD.WCF.DataModels.ReportModule; using Dongke.IBOSS.PRD.WCF.Proxys.ReportModuleService; using Dongke.IBOSS.PRD.WCF.Proxys.ServiceProxy; using Dongke.IBOSS.PRD.WCF.DataModels.PMModule; using Dongke.IBOSS.PRD.WCF.Contracts; namespace Dongke.IBOSS.PRD.WCF.Proxys { /// /// SAP数据接口 /// public class SAPDataModuleProxy : ServiceProxyBase { #region 构造 private SAPDataModuleProxy() : base("SAPDataService") { } private static SAPDataModuleProxy _service = null; public static SAPDataModuleProxy Service { get { if (_service == null) { return new SAPDataModuleProxy(); } return _service; } } #endregion #region 共通调用 /// /// 共通调用 /// /// /// public ServiceResultEntity DoRequest(ClientRequestEntity cre) { ServiceResultEntity result = this.Invoker.Invoke(proxy => proxy.DoRequest(cre)); return result; } #endregion } }