/// <summary> /// Create a new vSalesPerson object. /// </summary> /// <param name="salesPersonID">Initial value of SalesPersonID.</param> /// <param name="firstName">Initial value of FirstName.</param> /// <param name="lastName">Initial value of LastName.</param> /// <param name="jobTitle">Initial value of JobTitle.</param> /// <param name="emailPromotion">Initial value of EmailPromotion.</param> /// <param name="addressLine1">Initial value of AddressLine1.</param> /// <param name="city">Initial value of City.</param> /// <param name="stateProvinceName">Initial value of StateProvinceName.</param> /// <param name="postalCode">Initial value of PostalCode.</param> /// <param name="countryRegionName">Initial value of CountryRegionName.</param> /// <param name="salesYTD">Initial value of SalesYTD.</param> /// <param name="salesLastYear">Initial value of SalesLastYear.</param> public static vSalesPerson CreatevSalesPerson(int salesPersonID, string firstName, string lastName, string jobTitle, int emailPromotion, string addressLine1, string city, string stateProvinceName, string postalCode, string countryRegionName, decimal salesYTD, decimal salesLastYear) { vSalesPerson vSalesPerson = new vSalesPerson(); vSalesPerson.SalesPersonID = salesPersonID; vSalesPerson.FirstName = firstName; vSalesPerson.LastName = lastName; vSalesPerson.JobTitle = jobTitle; vSalesPerson.EmailPromotion = emailPromotion; vSalesPerson.AddressLine1 = addressLine1; vSalesPerson.City = city; vSalesPerson.StateProvinceName = stateProvinceName; vSalesPerson.PostalCode = postalCode; vSalesPerson.CountryRegionName = countryRegionName; vSalesPerson.SalesYTD = salesYTD; vSalesPerson.SalesLastYear = salesLastYear; return vSalesPerson; }
/// <summary> /// There are no comments for vSalesPerson in the schema. /// </summary> public void AddTovSalesPerson(vSalesPerson vSalesPerson) { base.AddObject("vSalesPerson", vSalesPerson); }