/// <summary>
 /// Deprecated Method for adding a new object to the SalesPersons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesPersons(SalesPerson salesPerson)
 {
     base.AddObject("SalesPersons", salesPerson);
 }
 /// <summary>
 /// Create a new SalesPerson object.
 /// </summary>
 /// <param name="salesPersonID">Initial value of the SalesPersonID property.</param>
 /// <param name="bonus">Initial value of the Bonus property.</param>
 /// <param name="commissionPct">Initial value of the CommissionPct property.</param>
 /// <param name="salesYTD">Initial value of the SalesYTD property.</param>
 /// <param name="salesLastYear">Initial value of the SalesLastYear property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static SalesPerson CreateSalesPerson(global::System.Int32 salesPersonID, global::System.Decimal bonus, global::System.Decimal commissionPct, global::System.Decimal salesYTD, global::System.Decimal salesLastYear, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     SalesPerson salesPerson = new SalesPerson();
     salesPerson.SalesPersonID = salesPersonID;
     salesPerson.Bonus = bonus;
     salesPerson.CommissionPct = commissionPct;
     salesPerson.SalesYTD = salesYTD;
     salesPerson.SalesLastYear = salesLastYear;
     salesPerson.rowguid = rowguid;
     salesPerson.ModifiedDate = modifiedDate;
     return salesPerson;
 }