Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrders(Order order)
 {
     base.AddObject("Orders", order);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isSeen">Initial value of the IsSeen property.</param>
 /// <param name="referUserId">Initial value of the ReferUserId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param>
 /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param>
 /// <param name="isShip">Initial value of the IsShip property.</param>
 /// <param name="transitFee">Initial value of the TransitFee property.</param>
 /// <param name="adjustFee">Initial value of the AdjustFee property.</param>
 public static Order CreateOrder(global::System.Int32 id, global::System.String code, global::System.Int32 customerId, global::System.DateTime createdDate, global::System.Int32 createdBy, global::System.Boolean isSeen, global::System.Int32 referUserId, global::System.Int32 status, global::System.DateTime lastModifiedDate, global::System.Int32 lastModifiedBy, global::System.Boolean isShip, global::System.Double transitFee, global::System.Double adjustFee)
 {
     Order order = new Order();
     order.Id = id;
     order.Code = code;
     order.CustomerId = customerId;
     order.CreatedDate = createdDate;
     order.CreatedBy = createdBy;
     order.IsSeen = isSeen;
     order.ReferUserId = referUserId;
     order.Status = status;
     order.LastModifiedDate = lastModifiedDate;
     order.LastModifiedBy = lastModifiedBy;
     order.IsShip = isShip;
     order.TransitFee = transitFee;
     order.AdjustFee = adjustFee;
     return order;
 }