/// <summary> /// Deprecated Method for adding a new object to the ProductReceives EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductReceives(ProductReceive productReceive) { base.AddObject("ProductReceives", productReceive); }
/// <summary> /// Create a new ProductReceive object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ProductReceive CreateProductReceive(global::System.Int32 id, global::System.Byte[] rowVersion) { ProductReceive productReceive = new ProductReceive(); productReceive.Id = id; productReceive.RowVersion = rowVersion; return productReceive; }