/// <summary>
 /// Create a new sysmail_mailitems object.
 /// </summary>
 /// <param name="mailitem_id">Initial value of the mailitem_id property.</param>
 /// <param name="profile_id">Initial value of the profile_id property.</param>
 /// <param name="send_request_date">Initial value of the send_request_date property.</param>
 /// <param name="send_request_user">Initial value of the send_request_user property.</param>
 /// <param name="last_mod_date">Initial value of the last_mod_date property.</param>
 /// <param name="last_mod_user">Initial value of the last_mod_user property.</param>
 public static sysmail_mailitems Createsysmail_mailitems(global::System.Int32 mailitem_id, global::System.Int32 profile_id, global::System.DateTime send_request_date, global::System.String send_request_user, global::System.DateTime last_mod_date, global::System.String last_mod_user)
 {
     sysmail_mailitems sysmail_mailitems = new sysmail_mailitems();
     sysmail_mailitems.mailitem_id = mailitem_id;
     sysmail_mailitems.profile_id = profile_id;
     sysmail_mailitems.send_request_date = send_request_date;
     sysmail_mailitems.send_request_user = send_request_user;
     sysmail_mailitems.last_mod_date = last_mod_date;
     sysmail_mailitems.last_mod_user = last_mod_user;
     return sysmail_mailitems;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the sysmail_mailitems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosysmail_mailitems(sysmail_mailitems sysmail_mailitems)
 {
     base.AddObject("sysmail_mailitems", sysmail_mailitems);
 }