/// <summary> /// Create a new RptProductSaleSummary object. /// </summary> /// <param name="rPSSID">Initial value of the RPSSID property.</param> /// <param name="providerID">Initial value of the ProviderID property.</param> /// <param name="vBKResourceID">Initial value of the VBKResourceID property.</param> /// <param name="pkg">Initial value of the Pkg property.</param> /// <param name="resourceName">Initial value of the ResourceName property.</param> /// <param name="departureCity">Initial value of the DepartureCity property.</param> /// <param name="destinationCity">Initial value of the DestinationCity property.</param> /// <param name="departureSchedule">Initial value of the DepartureSchedule property.</param> /// <param name="saledQuantity">Initial value of the SaledQuantity property.</param> /// <param name="saledAdultQuantity">Initial value of the SaledAdultQuantity property.</param> /// <param name="saledChildQuantity">Initial value of the SaledChildQuantity property.</param> /// <param name="adultCostPrice">Initial value of the AdultCostPrice property.</param> /// <param name="adultSalesPrice">Initial value of the AdultSalesPrice property.</param> /// <param name="childCostPrice">Initial value of the ChildCostPrice property.</param> /// <param name="childSalesPrice">Initial value of the ChildSalesPrice property.</param> /// <param name="createTime">Initial value of the CreateTime property.</param> /// <param name="updateTime">Initial value of the UpdateTime property.</param> /// <param name="purchaseOrderID">Initial value of the PurchaseOrderID property.</param> public static RptProductSaleSummary CreateRptProductSaleSummary(global::System.Int32 rPSSID, global::System.Int32 providerID, global::System.Int32 vBKResourceID, global::System.Int32 pkg, global::System.String resourceName, global::System.String departureCity, global::System.String destinationCity, global::System.DateTime departureSchedule, global::System.Int32 saledQuantity, global::System.Int32 saledAdultQuantity, global::System.Int32 saledChildQuantity, global::System.Decimal adultCostPrice, global::System.Decimal adultSalesPrice, global::System.Decimal childCostPrice, global::System.Decimal childSalesPrice, global::System.DateTime createTime, global::System.DateTime updateTime, global::System.Int32 purchaseOrderID) { RptProductSaleSummary rptProductSaleSummary = new RptProductSaleSummary(); rptProductSaleSummary.RPSSID = rPSSID; rptProductSaleSummary.ProviderID = providerID; rptProductSaleSummary.VBKResourceID = vBKResourceID; rptProductSaleSummary.Pkg = pkg; rptProductSaleSummary.ResourceName = resourceName; rptProductSaleSummary.DepartureCity = departureCity; rptProductSaleSummary.DestinationCity = destinationCity; rptProductSaleSummary.DepartureSchedule = departureSchedule; rptProductSaleSummary.SaledQuantity = saledQuantity; rptProductSaleSummary.SaledAdultQuantity = saledAdultQuantity; rptProductSaleSummary.SaledChildQuantity = saledChildQuantity; rptProductSaleSummary.AdultCostPrice = adultCostPrice; rptProductSaleSummary.AdultSalesPrice = adultSalesPrice; rptProductSaleSummary.ChildCostPrice = childCostPrice; rptProductSaleSummary.ChildSalesPrice = childSalesPrice; rptProductSaleSummary.CreateTime = createTime; rptProductSaleSummary.UpdateTime = updateTime; rptProductSaleSummary.PurchaseOrderID = purchaseOrderID; return rptProductSaleSummary; }
/// <summary> /// Deprecated Method for adding a new object to the RptProductSaleSummary EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRptProductSaleSummary(RptProductSaleSummary rptProductSaleSummary) { base.AddObject("RptProductSaleSummary", rptProductSaleSummary); }