Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesOrderHeaderSalesReasons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesOrderHeaderSalesReasons(SalesOrderHeaderSalesReason salesOrderHeaderSalesReason)
 {
     base.AddObject("SalesOrderHeaderSalesReasons", salesOrderHeaderSalesReason);
 }
 /// <summary>
 /// Create a new SalesOrderHeaderSalesReason object.
 /// </summary>
 /// <param name="salesOrderID">Initial value of the SalesOrderID property.</param>
 /// <param name="salesReasonID">Initial value of the SalesReasonID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static SalesOrderHeaderSalesReason CreateSalesOrderHeaderSalesReason(global::System.Int32 salesOrderID, global::System.Int32 salesReasonID, global::System.DateTime modifiedDate)
 {
     SalesOrderHeaderSalesReason salesOrderHeaderSalesReason = new SalesOrderHeaderSalesReason();
     salesOrderHeaderSalesReason.SalesOrderID = salesOrderID;
     salesOrderHeaderSalesReason.SalesReasonID = salesReasonID;
     salesOrderHeaderSalesReason.ModifiedDate = modifiedDate;
     return salesOrderHeaderSalesReason;
 }