/// <summary> /// Create a new UserSetting object. /// </summary> /// <param name="userSettingID">Initial value of the UserSettingID property.</param> public static UserSetting CreateUserSetting(global::System.Int32 userSettingID) { UserSetting userSetting = new UserSetting(); userSetting.UserSettingID = userSettingID; return userSetting; }
/// <summary> /// Deprecated Method for adding a new object to the UserSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserSettings(UserSetting userSetting) { base.AddObject("UserSettings", userSetting); }