Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductSizes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductSizes(ProductSize productSize)
 {
     base.AddObject("ProductSizes", productSize);
 }