/// <summary> /// Deprecated Method for adding a new object to the sysmail_principalprofile EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosysmail_principalprofile(sysmail_principalprofile sysmail_principalprofile) { base.AddObject("sysmail_principalprofile", sysmail_principalprofile); }
/// <summary> /// Create a new sysmail_principalprofile object. /// </summary> /// <param name="profile_id">Initial value of the profile_id property.</param> /// <param name="principal_sid">Initial value of the principal_sid property.</param> /// <param name="is_default">Initial value of the is_default 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_principalprofile Createsysmail_principalprofile(global::System.Int32 profile_id, global::System.Byte[] principal_sid, global::System.Boolean is_default, global::System.DateTime last_mod_datetime, global::System.String last_mod_user) { sysmail_principalprofile sysmail_principalprofile = new sysmail_principalprofile(); sysmail_principalprofile.profile_id = profile_id; sysmail_principalprofile.principal_sid = principal_sid; sysmail_principalprofile.is_default = is_default; sysmail_principalprofile.last_mod_datetime = last_mod_datetime; sysmail_principalprofile.last_mod_user = last_mod_user; return sysmail_principalprofile; }