/// <summary> /// Create a new Shipment object. /// </summary> /// <param name="shipmentID">Initial value of the ShipmentID property.</param> /// <param name="shipped">Initial value of the Shipped property.</param> /// <param name="rejected">Initial value of the Rejected property.</param> /// <param name="c_Date">Initial value of the c_Date property.</param> /// <param name="productBreakUpSummaryID">Initial value of the ProductBreakUpSummaryID property.</param> public static Shipment CreateShipment(global::System.Int64 shipmentID, global::System.Decimal shipped, global::System.Decimal rejected, global::System.DateTime c_Date, global::System.Int64 productBreakUpSummaryID) { Shipment shipment = new Shipment(); shipment.ShipmentID = shipmentID; shipment.Shipped = shipped; shipment.Rejected = rejected; shipment.c_Date = c_Date; shipment.ProductBreakUpSummaryID = productBreakUpSummaryID; return shipment; }
/// <summary> /// Deprecated Method for adding a new object to the Shipments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShipments(Shipment shipment) { base.AddObject("Shipments", shipment); }