Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PlayVolunteers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPlayVolunteers(PlayVolunteer playVolunteer)
 {
     base.AddObject("PlayVolunteers", playVolunteer);
 }
Example #2
0
 /// <summary>
 /// Create a new PlayVolunteer object.
 /// </summary>
 /// <param name="playId">Initial value of the PlayId property.</param>
 /// <param name="volunteerId">Initial value of the VolunteerId property.</param>
 /// <param name="jobId">Initial value of the JobId property.</param>
 public static PlayVolunteer CreatePlayVolunteer(global::System.Int32 playId, global::System.Int32 volunteerId, global::System.Int32 jobId)
 {
     PlayVolunteer playVolunteer = new PlayVolunteer();
     playVolunteer.PlayId = playId;
     playVolunteer.VolunteerId = volunteerId;
     playVolunteer.JobId = jobId;
     return playVolunteer;
 }