/// <summary> /// Create a new TaxClass object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="created">Initial value of the Created property.</param> public static TaxClass CreateTaxClass(global::System.Guid guid, global::System.Guid siteGuid, global::System.String title, global::System.String description, global::System.DateTime created) { TaxClass taxClass = new TaxClass(); taxClass.Guid = guid; taxClass.SiteGuid = siteGuid; taxClass.Title = title; taxClass.Description = description; taxClass.Created = created; return taxClass; }
/// <summary> /// Deprecated Method for adding a new object to the TaxClasses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaxClasses(TaxClass taxClass) { base.AddObject("TaxClasses", taxClass); }