/// <summary> /// Deprecated Method for adding a new object to the Settings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSettings(Setting setting) { base.AddObject("Settings", setting); }
/// <summary> /// Create a new Setting object. /// </summary> /// <param name="settingID">Initial value of the SettingID property.</param> /// <param name="settingType">Initial value of the SettingType property.</param> public static Setting CreateSetting(global::System.Guid settingID, global::System.String settingType) { Setting setting = new Setting(); setting.SettingID = settingID; setting.SettingType = settingType; return setting; }