/// <summary> /// Deprecated Method for adding a new object to the ProductVersions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductVersions(ProductVersion productVersion) { base.AddObject("ProductVersions", productVersion); }
/// <summary> /// Create a new ProductVersion object. /// </summary> /// <param name="productVersionId">Initial value of the ProductVersionId property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="versionDisplay">Initial value of the VersionDisplay property.</param> /// <param name="versionMask">Initial value of the VersionMask property.</param> public static ProductVersion CreateProductVersion(global::System.Int32 productVersionId, global::System.Int32 productId, global::System.String versionDisplay, global::System.String versionMask) { ProductVersion productVersion = new ProductVersion(); productVersion.ProductVersionId = productVersionId; productVersion.ProductId = productId; productVersion.VersionDisplay = versionDisplay; productVersion.VersionMask = versionMask; return productVersion; }