WCF 重載

    [ServiceContract]  
    public interface IUser  
    {  

      [OperationContract(Name="ByUseId")] 
     User GetUser(int id)
;
    [OperationContract(Name
="ByUserEmail")]
     User GetUser(string email)
;
 } 
相關文章
相關標籤/搜索