Пример #1
0
 public IQueryable <ConversationMessage> GetConversationMessages()
 {
     if (ServiceAuthentication.IsValid())
     {
         return(this.ObjectContext.ConversationMessages);
     }
     else
     {
         //// throw fault
         throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials");
     }
 }
Пример #2
0
 public IQueryable <PreferenceSetOrganization> GetPreferenceSetOrganizations()
 {
     if (ServiceAuthentication.IsValid())
     {
         return(this.ObjectContext.PreferenceSetOrganizations);
     }
     else
     {
         //// throw fault
         throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials");
     }
 }
Пример #3
0
 public IQueryable <LaterRatedIssue> GetLaterRatedIssues()
 {
     if (ServiceAuthentication.IsValid())
     {
         return(this.ObjectContext.LaterRatedIssues);
     }
     else
     {
         //// throw fault
         throw new FaultException <InvalidOperationException>(new InvalidOperationException("Invalid credentials"), "Invalid credentials");
     }
 }