/// <summary> /// Create a new UserReminderSetting object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="enabled">Initial value of the Enabled property.</param> /// <param name="frequency">Initial value of the Frequency property.</param> public static UserReminderSetting CreateUserReminderSetting(global::System.Int32 userId, global::System.Boolean enabled, global::System.Int32 frequency) { UserReminderSetting userReminderSetting = new UserReminderSetting(); userReminderSetting.UserId = userId; userReminderSetting.Enabled = enabled; userReminderSetting.Frequency = frequency; return(userReminderSetting); }
/// <summary> /// Deprecated Method for adding a new object to the UserReminderSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserReminderSettings(UserReminderSetting userReminderSetting) { base.AddObject("UserReminderSettings", userReminderSetting); }