Testing.SalesPersonQuotaHistory.CreateSalesPersonQuotaHistory C# (CSharp) Method

CreateSalesPersonQuotaHistory() public static method

Create a new SalesPersonQuotaHistory object.
public static CreateSalesPersonQuotaHistory ( global salesPersonID, global quotaDate, global salesQuota, global rowguid, global modifiedDate ) : SalesPersonQuotaHistory
salesPersonID global Initial value of the SalesPersonID property.
quotaDate global Initial value of the QuotaDate property.
salesQuota global Initial value of the SalesQuota property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return SalesPersonQuotaHistory
        public static SalesPersonQuotaHistory CreateSalesPersonQuotaHistory(global::System.Int32 salesPersonID, global::System.DateTime quotaDate, global::System.Decimal salesQuota, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            SalesPersonQuotaHistory salesPersonQuotaHistory = new SalesPersonQuotaHistory();
            salesPersonQuotaHistory.SalesPersonID = salesPersonID;
            salesPersonQuotaHistory.QuotaDate = quotaDate;
            salesPersonQuotaHistory.SalesQuota = salesQuota;
            salesPersonQuotaHistory.rowguid = rowguid;
            salesPersonQuotaHistory.ModifiedDate = modifiedDate;
            return salesPersonQuotaHistory;
        }