/// <summary> /// Deprecated Method for adding a new object to the OrderReportCards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderReportCards(OrderReportCard orderReportCard) { base.AddObject("OrderReportCards", orderReportCard); }
/// <summary> /// Create a new OrderReportCard object. /// </summary> /// <param name="orderReportCardID">Initial value of the OrderReportCardID property.</param> /// <param name="progressPercentage">Initial value of the ProgressPercentage property.</param> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="orderReportCardTypeID">Initial value of the OrderReportCardTypeID property.</param> public static OrderReportCard CreateOrderReportCard(global::System.Int64 orderReportCardID, global::System.Decimal progressPercentage, global::System.Int64 orderID, global::System.Byte orderReportCardTypeID) { OrderReportCard orderReportCard = new OrderReportCard(); orderReportCard.OrderReportCardID = orderReportCardID; orderReportCard.ProgressPercentage = progressPercentage; orderReportCard.OrderID = orderID; orderReportCard.OrderReportCardTypeID = orderReportCardTypeID; return orderReportCard; }