/// <summary> /// Deprecated Method for adding a new object to the MessageReplies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessageReplies(MessageReply messageReply) { base.AddObject("MessageReplies", messageReply); }
/// <summary> /// Create a new MessageReply object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="replyUserId">Initial value of the ReplyUserId property.</param> /// <param name="messageId">Initial value of the MessageId property.</param> /// <param name="body">Initial value of the Body property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> public static MessageReply CreateMessageReply(global::System.Int32 id, global::System.Int32 replyUserId, global::System.Int32 messageId, global::System.String body, global::System.DateTime dateTimeStamp) { MessageReply messageReply = new MessageReply(); messageReply.Id = id; messageReply.ReplyUserId = replyUserId; messageReply.MessageId = messageId; messageReply.Body = body; messageReply.DateTimeStamp = dateTimeStamp; return messageReply; }