コード例 #1
0
 /// <summary>
 /// Create a new ConversationMessage object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeId">Initial value of the StoreId property.</param>
 /// <param name="conversationId">Initial value of the ConversationId property.</param>
 /// <param name="authorId">Initial value of the AuthorId property.</param>
 /// <param name="message">Initial value of the Message property.</param>
 public static ConversationMessage CreateConversationMessage(global::System.Int64 id, global::System.Int64 storeId, global::System.Int64 conversationId, global::System.Int64 authorId, global::System.String message)
 {
     ConversationMessage conversationMessage = new ConversationMessage();
     conversationMessage.Id = id;
     conversationMessage.StoreId = storeId;
     conversationMessage.ConversationId = conversationId;
     conversationMessage.AuthorId = authorId;
     conversationMessage.Message = message;
     return conversationMessage;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ConversationMessages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConversationMessages(ConversationMessage conversationMessage)
 {
     base.AddObject("ConversationMessages", conversationMessage);
 }