Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderTracks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderTracks(OrderTrack orderTrack)
 {
     base.AddObject("OrderTracks", orderTrack);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new OrderTrack object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 public static OrderTrack CreateOrderTrack(global::System.Int32 id, global::System.Int32 orderId, global::System.Int32 createdBy, global::System.DateTime createdDate)
 {
     OrderTrack orderTrack = new OrderTrack();
     orderTrack.Id = id;
     orderTrack.OrderId = orderId;
     orderTrack.CreatedBy = createdBy;
     orderTrack.CreatedDate = createdDate;
     return orderTrack;
 }