/// <summary> /// Deprecated Method for adding a new object to the sysmail_profileaccount EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosysmail_profileaccount(sysmail_profileaccount sysmail_profileaccount) { base.AddObject("sysmail_profileaccount", sysmail_profileaccount); }
/// <summary> /// Create a new sysmail_profileaccount object. /// </summary> /// <param name="profile_id">Initial value of the profile_id property.</param> /// <param name="account_id">Initial value of the account_id 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_profileaccount Createsysmail_profileaccount(global::System.Int32 profile_id, global::System.Int32 account_id, global::System.DateTime last_mod_datetime, global::System.String last_mod_user) { sysmail_profileaccount sysmail_profileaccount = new sysmail_profileaccount(); sysmail_profileaccount.profile_id = profile_id; sysmail_profileaccount.account_id = account_id; sysmail_profileaccount.last_mod_datetime = last_mod_datetime; sysmail_profileaccount.last_mod_user = last_mod_user; return sysmail_profileaccount; }