コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductReceiveBalanceForwards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductReceiveBalanceForwards(ProductReceiveBalanceForward productReceiveBalanceForward)
 {
     base.AddObject("ProductReceiveBalanceForwards", productReceiveBalanceForward);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductReceiveBalanceForward object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="documentNo">Initial value of the DocumentNo property.</param>
 /// <param name="documentDate">Initial value of the DocumentDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static ProductReceiveBalanceForward CreateProductReceiveBalanceForward(global::System.Int32 id, global::System.String documentNo, global::System.DateTime documentDate, global::System.Byte[] rowVersion)
 {
     ProductReceiveBalanceForward productReceiveBalanceForward = new ProductReceiveBalanceForward();
     productReceiveBalanceForward.Id = id;
     productReceiveBalanceForward.DocumentNo = documentNo;
     productReceiveBalanceForward.DocumentDate = documentDate;
     productReceiveBalanceForward.RowVersion = rowVersion;
     return productReceiveBalanceForward;
 }