/// <summary>
 /// Create a new SalesOrder object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="customerId">Initial value of the customerId property.</param>
 /// <param name="salesOrderDate">Initial value of the salesOrderDate property.</param>
 public static SalesOrder CreateSalesOrder(global::System.Int32 id, global::System.Int32 customerId, global::System.DateTime salesOrderDate)
 {
     SalesOrder salesOrder = new SalesOrder();
     salesOrder.id = id;
     salesOrder.customerId = customerId;
     salesOrder.salesOrderDate = salesOrderDate;
     return salesOrder;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesOrder EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesOrder(SalesOrder salesOrder)
 {
     base.AddObject("SalesOrder", salesOrder);
 }