Posted By

RichardCustance on 11/30/10


Tagged

web WCF Extensibility Sage 200


Versions (?)

Web Extensibility Download Part 1 - Service Description


 / Published in: C#
 

  1. using System.ServiceModel;
  2. using System.Collections.Generic;
  3.  
  4. namespace Expenses.Service.Contracts
  5. {
  6. [ServiceContract]
  7. public interface IExpenseService
  8. {
  9. [OperationContract]
  10. [FaultContract(typeof(ContractFault))]
  11. void CreateExpense(ExpenseContract request);
  12.  
  13. [OperationContract]
  14. IEnumerable<ExpenseContract> GetExpensesByName(string name);
  15.  
  16. [OperationContract]
  17. [FaultContract(typeof(ContractFault))]
  18. void DeleteExpense(int id);
  19. }
  20.  
  21. public interface IExpenseServiceChannel : IExpenseService, IClientChannel { }
  22. }

Report this snippet  

You need to login to post a comment.