/// <summary> /// Deprecated Method for adding a new object to the mp_TaxRateHistory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomp_TaxRateHistory(mp_TaxRateHistory mp_TaxRateHistory) { base.AddObject("mp_TaxRateHistory", mp_TaxRateHistory); }
/// <summary> /// Create a new mp_TaxRateHistory object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="taxRateGuid">Initial value of the TaxRateGuid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="geoZoneGuid">Initial value of the GeoZoneGuid property.</param> /// <param name="taxClassGuid">Initial value of the TaxClassGuid property.</param> /// <param name="priority">Initial value of the Priority property.</param> /// <param name="rate">Initial value of the Rate property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="logTime">Initial value of the LogTime property.</param> public static mp_TaxRateHistory Createmp_TaxRateHistory(global::System.Guid guid, global::System.Guid taxRateGuid, global::System.Guid siteGuid, global::System.Guid geoZoneGuid, global::System.Guid taxClassGuid, global::System.Int32 priority, global::System.Decimal rate, global::System.DateTime created, global::System.Guid createdBy, global::System.DateTime logTime) { mp_TaxRateHistory mp_TaxRateHistory = new mp_TaxRateHistory(); mp_TaxRateHistory.Guid = guid; mp_TaxRateHistory.TaxRateGuid = taxRateGuid; mp_TaxRateHistory.SiteGuid = siteGuid; mp_TaxRateHistory.GeoZoneGuid = geoZoneGuid; mp_TaxRateHistory.TaxClassGuid = taxClassGuid; mp_TaxRateHistory.Priority = priority; mp_TaxRateHistory.Rate = rate; mp_TaxRateHistory.Created = created; mp_TaxRateHistory.CreatedBy = createdBy; mp_TaxRateHistory.LogTime = logTime; return mp_TaxRateHistory; }