/// <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="m_id">Initial value of the m_id property.</param> /// <param name="m_from_username">Initial value of the m_from_username property.</param> /// <param name="m_from_folder">Initial value of the m_from_folder property.</param> /// <param name="m_to_username">Initial value of the m_to_username property.</param> /// <param name="m_to_folder">Initial value of the m_to_folder property.</param> /// <param name="m_body">Initial value of the m_body property.</param> /// <param name="m_timestamp">Initial value of the m_timestamp property.</param> /// <param name="m_replied_to">Initial value of the m_replied_to property.</param> /// <param name="m_is_read">Initial value of the m_is_read property.</param> /// <param name="m_pending_approval">Initial value of the m_pending_approval property.</param> /// <param name="m_new">Initial value of the m_new property.</param> public static Messages CreateMessages(global::System.Int32 m_id, global::System.String m_from_username, global::System.Int32 m_from_folder, global::System.String m_to_username, global::System.Int32 m_to_folder, global::System.String m_body, global::System.DateTime m_timestamp, global::System.Int32 m_replied_to, global::System.Boolean m_is_read, global::System.Boolean m_pending_approval, global::System.Boolean m_new) { Messages messages = new Messages(); messages.m_id = m_id; messages.m_from_username = m_from_username; messages.m_from_folder = m_from_folder; messages.m_to_username = m_to_username; messages.m_to_folder = m_to_folder; messages.m_body = m_body; messages.m_timestamp = m_timestamp; messages.m_replied_to = m_replied_to; messages.m_is_read = m_is_read; messages.m_pending_approval = m_pending_approval; messages.m_new = m_new; return messages; }