Ejemplo n.º 1
0
 /// <summary>
 /// Create a new ProductReceived object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="iDProduct">Initial value of the IDProduct property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="month">Initial value of the Month property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 public static ProductReceived CreateProductReceived(global::System.Guid id, global::System.Guid iDProduct, global::System.Int32 year, global::System.Int32 month, global::System.Int32 quantity)
 {
     ProductReceived productReceived = new ProductReceived();
     productReceived.ID = id;
     productReceived.IDProduct = iDProduct;
     productReceived.Year = year;
     productReceived.Month = month;
     productReceived.Quantity = quantity;
     return productReceived;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductReceived EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductReceived(ProductReceived productReceived)
 {
     base.AddObject("ProductReceived", productReceived);
 }