Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 public IList<Sponsor> FindAllSponsors(SponsorshipLevel sponsorshipLevel)
 {
     return base.GetSponsors().ToList();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SponsorshipLevels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsorshipLevels(SponsorshipLevel sponsorshipLevel)
 {
     base.AddObject("SponsorshipLevels", sponsorshipLevel);
 }