/// <summary> /// Deprecated Method for adding a new object to the ProductSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductSettings(ProductSetting productSetting) { base.AddObject("ProductSettings", productSetting); }
/// <summary> /// Create a new ProductSetting object. /// </summary> /// <param name="settingID">Initial value of the SettingID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="buildLabelMajor">Initial value of the BuildLabelMajor property.</param> /// <param name="appPath">Initial value of the AppPath property.</param> /// <param name="appName">Initial value of the AppName property.</param> /// <param name="testCaseTimeOut">Initial value of the TestCaseTimeOut property.</param> /// <param name="targetAppLaunchTime">Initial value of the TargetAppLaunchTime property.</param> /// <param name="schemaFile">Initial value of the SchemaFile property.</param> /// <param name="settingsFile">Initial value of the SettingsFile property.</param> /// <param name="rootPath">Initial value of the RootPath property.</param> /// <param name="resultPath">Initial value of the ResultPath property.</param> /// <param name="testServerProductID">Initial value of the TestServerProductID property.</param> /// <param name="deleteResultDataBeforeEachTest">Initial value of the DeleteResultDataBeforeEachTest property.</param> /// <param name="deleteAllResultDataBeforeEachTest">Initial value of the DeleteAllResultDataBeforeEachTest property.</param> /// <param name="deletePassedResult">Initial value of the DeletePassedResult property.</param> /// <param name="captureDialogs">Initial value of the CaptureDialogs property.</param> /// <param name="clearErrorStatusBeforeRunning">Initial value of the ClearErrorStatusBeforeRunning property.</param> /// <param name="restartTargetAppForEveryTest">Initial value of the RestartTargetAppForEveryTest property.</param> /// <param name="cerEmail">Initial value of the CerEmail property.</param> public static ProductSetting CreateProductSetting(global::System.Guid settingID, global::System.String productID, global::System.Int32 buildLabelMajor, global::System.String appPath, global::System.String appName, global::System.Int32 testCaseTimeOut, global::System.Int32 targetAppLaunchTime, global::System.String schemaFile, global::System.String settingsFile, global::System.String rootPath, global::System.String resultPath, global::System.String testServerProductID, global::System.Boolean deleteResultDataBeforeEachTest, global::System.Boolean deleteAllResultDataBeforeEachTest, global::System.Boolean deletePassedResult, global::System.Boolean captureDialogs, global::System.Boolean clearErrorStatusBeforeRunning, global::System.Int32 restartTargetAppForEveryTest, global::System.String cerEmail) { ProductSetting productSetting = new ProductSetting(); productSetting.SettingID = settingID; productSetting.ProductID = productID; productSetting.BuildLabelMajor = buildLabelMajor; productSetting.AppPath = appPath; productSetting.AppName = appName; productSetting.TestCaseTimeOut = testCaseTimeOut; productSetting.TargetAppLaunchTime = targetAppLaunchTime; productSetting.SchemaFile = schemaFile; productSetting.SettingsFile = settingsFile; productSetting.RootPath = rootPath; productSetting.ResultPath = resultPath; productSetting.TestServerProductID = testServerProductID; productSetting.DeleteResultDataBeforeEachTest = deleteResultDataBeforeEachTest; productSetting.DeleteAllResultDataBeforeEachTest = deleteAllResultDataBeforeEachTest; productSetting.DeletePassedResult = deletePassedResult; productSetting.CaptureDialogs = captureDialogs; productSetting.ClearErrorStatusBeforeRunning = clearErrorStatusBeforeRunning; productSetting.RestartTargetAppForEveryTest = restartTargetAppForEveryTest; productSetting.CerEmail = cerEmail; return productSetting; }