//[OperationBehavior] public void DoEx(ICommonDataContract commonData, UFIDA.U9.Cust.Pub.WSLogSV.WSLogDTOData wSLogDTO) { this.CommonData = commonData; try { BeforeInvoke("UFIDA.U9.Cust.Pub.WSLogSV.CreateWSLogSV"); CreateWSLogSV objectRef = new CreateWSLogSV(); if (wSLogDTO != null) { DeSerializeKey(wSLogDTO); UFIDA.U9.Cust.Pub.WSLogSV.WSLogDTO temp = new UFIDA.U9.Cust.Pub.WSLogSV.WSLogDTO(); temp.FromEntityData(wSLogDTO); objectRef.WSLogDTO = temp; } //处理返回类型. objectRef.Do(); //没有返回值 } catch (System.Exception e) { DealException(e); throw; } finally { FinallyInvoke("UFIDA.U9.Cust.Pub.WSLogSV.CreateWSLogSV"); } }
//[OperationBehavior] public void Do(IContext context, out IList <MessageBase> outMessages, UFIDA.U9.Cust.Pub.WSLogSV.WSLogDTOData wSLogDTO) { ICommonDataContract commonData = CommonDataContractFactory.GetCommonData(context, out outMessages); DoEx(commonData, wSLogDTO); }