/// <summary> /// Deprecated Method for adding a new object to the messages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomessages(messages messages) { base.AddObject("messages", messages); }
/// <summary> /// Create a new messages object. /// </summary> /// <param name="id_message">Initial value of the id_message property.</param> /// <param name="id_user">Initial value of the id_user property.</param> /// <param name="id_theme">Initial value of the id_theme property.</param> /// <param name="date_post">Initial value of the date_post property.</param> /// <param name="answer_to">Initial value of the answer_to property.</param> /// <param name="is_announce">Initial value of the is_announce property.</param> /// <param name="is_news">Initial value of the is_news property.</param> /// <param name="is_censored">Initial value of the is_censored property.</param> public static messages Createmessages(global::System.Int32 id_message, global::System.Int32 id_user, global::System.Int32 id_theme, global::System.DateTime date_post, global::System.Int32 answer_to, global::System.Boolean is_announce, global::System.Boolean is_news, global::System.Boolean is_censored) { messages messages = new messages(); messages.id_message = id_message; messages.id_user = id_user; messages.id_theme = id_theme; messages.date_post = date_post; messages.answer_to = answer_to; messages.is_announce = is_announce; messages.is_news = is_news; messages.is_censored = is_censored; return messages; }