Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sponsors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsors(Sponsor sponsor)
 {
     base.AddObject("Sponsors", sponsor);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Sponsor object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="event_ID">Initial value of the Event_ID property.</param>
 public static Sponsor CreateSponsor(global::System.Int32 id, global::System.Int32 event_ID)
 {
     Sponsor sponsor = new Sponsor();
     sponsor.ID = id;
     sponsor.Event_ID = event_ID;
     return sponsor;
 }