//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "Service Contracts" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//---------------------------------------------------------------------------------------------

using System.Collections.Generic;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Threading.Tasks;
using Xomega.Framework.Services;

namespace AdventureWorks.Services
{
    #region IShipMethodService interface

    ///<summary>
    /// Shipping company lookup table.
    ///</summary>
    [ServiceContract]
    public interface IShipMethodService
    {

        ///<summary>
        /// Reads a list of Ship Method objects based on the specified criteria.
        ///</summary>
        [OperationContract]
        Task<Output<ICollection<ShipMethod_ReadListOutput>>> ReadListAsync();

    }
    #endregion

    #region ShipMethod_ReadListOutput structure

    ///<summary>
    /// The output structure of operation IShipMethodService.ReadListAsync.
    ///</summary>
    [DataContract]
    public class ShipMethod_ReadListOutput
    {
        
        [DataMember]
        public int ShipMethodId { get; set; }
        
        ///<summary>
        /// Shipping company name.
        ///</summary>
        [DataMember]
        public string Name { get; set; }
    }
    #endregion

}