Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Volunteers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVolunteers(Volunteer volunteer)
 {
     base.AddObject("Volunteers", volunteer);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Volunteer object.
 /// </summary>
 /// <param name="volunteerId">Initial value of the VolunteerId property.</param>
 public static Volunteer CreateVolunteer(global::System.Int32 volunteerId)
 {
     Volunteer volunteer = new Volunteer();
     volunteer.VolunteerId = volunteerId;
     return volunteer;
 }