/// <summary> /// Create a new Reply 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 Reply CreateReply(global::System.Int32 id, global::System.Int32 replyUserId, global::System.Int32 messageId, global::System.String body, global::System.DateTime dateTimeStamp) { Reply reply = new Reply(); reply.Id = id; reply.ReplyUserId = replyUserId; reply.MessageId = messageId; reply.Body = body; reply.DateTimeStamp = dateTimeStamp; return reply; }
/// <summary> /// Deprecated Method for adding a new object to the Replys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReplys(Reply reply) { base.AddObject("Replys", reply); }