/// <summary> /// Create a new SponsorshipLevel object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="amount">Initial value of the Amount property.</param> public static SponsorshipLevel CreateSponsorshipLevel(global::System.Int32 id, global::System.String name, global::System.String description, global::System.String amount) { SponsorshipLevel sponsorshipLevel = new SponsorshipLevel(); sponsorshipLevel.Id = id; sponsorshipLevel.Name = name; sponsorshipLevel.Description = description; sponsorshipLevel.Amount = amount; return sponsorshipLevel; }
public IList<Sponsor> FindAllSponsors(SponsorshipLevel sponsorshipLevel) { return base.GetSponsors().ToList(); }
/// <summary> /// Deprecated Method for adding a new object to the SponsorshipLevels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSponsorshipLevels(SponsorshipLevel sponsorshipLevel) { base.AddObject("SponsorshipLevels", sponsorshipLevel); }