ConversationRepo Class


Repot for Conversation objects.

public static class ConversationRepo
System.Object → ConversationRepo


Delete(Int32) Permanently deletes the Conversation.
Get(Int32, Nullable) Gets a Conversation object from the repository.
GetMember(Int32, Int32) Returns a space Member.
GetMembers(Int32, QueryOptions) Returns the members of the Conversation.
GetOneOnOne(Int32, Int32) Gets an existing one-on-one Conversation between 2 people from the repository.
Insert(Conversation) Inserts a Conversation object into the repository.
ReadAll(Int32) Mark all a users' conversations as read.
RemoveMember(Int32, Int32) Removes a User from the specified Conversation.
Search(ConversationQuery) Performs a search according to the specified ConversationQuery object.
SetArchived(Int32, Int32, NullableTime>) Sets a value indicating if the Conversation is archived.
SetDelivered(Int32, Int32, NullableTime>) Sets a value indicating when the last message in the conversation was delivered to the specified user.
SetNotified(Int32, Int32, NullableTime>) Marks a Conversation as notified.
SetRead(Int32, Int32, NullableTime>) Sets a value indicating when the Conversation was read.
Update(Conversation) Updates an existing Conversation in the datasource.
UpsertMember(Int32, Int32, Access) Insert or update the specified User as a member in the specified Conversation.