/// <summary> /// Deprecated Method for adding a new object to the CtdiOrders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCtdiOrders(CtdiOrder ctdiOrder) { base.AddObject("CtdiOrders", ctdiOrder); }
/// <summary> /// Create a new CtdiOrder object. /// </summary> /// <param name="ctdiOrderId">Initial value of the CtdiOrderId property.</param> /// <param name="orderId">Initial value of the OrderId property.</param> /// <param name="revisionNumber">Initial value of the RevisionNumber property.</param> /// <param name="orderXml">Initial value of the OrderXml property.</param> public static CtdiOrder CreateCtdiOrder(global::System.Int32 ctdiOrderId, global::System.Int32 orderId, global::System.String revisionNumber, global::System.String orderXml) { CtdiOrder ctdiOrder = new CtdiOrder(); ctdiOrder.CtdiOrderId = ctdiOrderId; ctdiOrder.OrderId = orderId; ctdiOrder.RevisionNumber = revisionNumber; ctdiOrder.OrderXml = orderXml; return ctdiOrder; }