Ejemplo n.º 1
0
 /// <summary>
 /// Create a new DyeingJoItem object.
 /// </summary>
 /// <param name="dyeingJoItemsID">Initial value of the DyeingJoItemsID property.</param>
 /// <param name="color">Initial value of the Color property.</param>
 /// <param name="qualityDescription">Initial value of the QualityDescription property.</param>
 /// <param name="reqGSM">Initial value of the ReqGSM property.</param>
 /// <param name="reqWidth">Initial value of the ReqWidth property.</param>
 /// <param name="netQty">Initial value of the NetQty property.</param>
 /// <param name="ratePerKg">Initial value of the RatePerKg property.</param>
 /// <param name="totalAmount">Initial value of the TotalAmount property.</param>
 /// <param name="dyeingJOId">Initial value of the DyeingJOId property.</param>
 public static DyeingJoItem CreateDyeingJoItem(global::System.Int64 dyeingJoItemsID, global::System.String color, global::System.String qualityDescription, global::System.String reqGSM, global::System.String reqWidth, global::System.Decimal netQty, global::System.Decimal ratePerKg, global::System.Decimal totalAmount, global::System.Int64 dyeingJOId)
 {
     DyeingJoItem dyeingJoItem = new DyeingJoItem();
     dyeingJoItem.DyeingJoItemsID = dyeingJoItemsID;
     dyeingJoItem.Color = color;
     dyeingJoItem.QualityDescription = qualityDescription;
     dyeingJoItem.ReqGSM = reqGSM;
     dyeingJoItem.ReqWidth = reqWidth;
     dyeingJoItem.NetQty = netQty;
     dyeingJoItem.RatePerKg = ratePerKg;
     dyeingJoItem.TotalAmount = totalAmount;
     dyeingJoItem.DyeingJOId = dyeingJOId;
     return dyeingJoItem;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DyeingJoItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDyeingJoItems(DyeingJoItem dyeingJoItem)
 {
     base.AddObject("DyeingJoItems", dyeingJoItem);
 }