/// <summary> /// Create a new ProductSize object. /// </summary> /// <param name="productSizeID">Initial value of the ProductSizeID property.</param> /// <param name="size">Initial value of the Size property.</param> public static ProductSize CreateProductSize(global::System.Int64 productSizeID, global::System.String size) { ProductSize productSize = new ProductSize(); productSize.ProductSizeID = productSizeID; productSize.Size = size; return productSize; }
/// <summary> /// Deprecated Method for adding a new object to the ProductSizes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductSizes(ProductSize productSize) { base.AddObject("ProductSizes", productSize); }