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