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