/// <summary> /// Deprecated Method for adding a new object to the SalesPersonQuotaHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesPersonQuotaHistories(SalesPersonQuotaHistory salesPersonQuotaHistory) { base.AddObject("SalesPersonQuotaHistories", salesPersonQuotaHistory); }
/// <summary> /// Create a new SalesPersonQuotaHistory object. /// </summary> /// <param name="salesPersonID">Initial value of the SalesPersonID property.</param> /// <param name="quotaDate">Initial value of the QuotaDate property.</param> /// <param name="salesQuota">Initial value of the SalesQuota property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> 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; }