/// <summary> /// Create a new archive_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 archive_Messages Createarchive_Messages(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) { archive_Messages archive_Messages = new archive_Messages(); archive_Messages.m_id = m_id; archive_Messages.m_from_username = m_from_username; archive_Messages.m_from_folder = m_from_folder; archive_Messages.m_to_username = m_to_username; archive_Messages.m_to_folder = m_to_folder; archive_Messages.m_body = m_body; archive_Messages.m_timestamp = m_timestamp; archive_Messages.m_replied_to = m_replied_to; archive_Messages.m_is_read = m_is_read; archive_Messages.m_pending_approval = m_pending_approval; archive_Messages.m_new = m_new; return archive_Messages; }
/// <summary> /// Deprecated Method for adding a new object to the archive_Messages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToarchive_Messages(archive_Messages archive_Messages) { base.AddObject("archive_Messages", archive_Messages); }