/// <summary> /// Deprecated Method for adding a new object to the VolunteerCapabilities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVolunteerCapabilities(VolunteerCapability volunteerCapability) { base.AddObject("VolunteerCapabilities", volunteerCapability); }
/// <summary> /// Create a new VolunteerCapability object. /// </summary> /// <param name="volunteerId">Initial value of the VolunteerId property.</param> /// <param name="jobId">Initial value of the JobId property.</param> public static VolunteerCapability CreateVolunteerCapability(global::System.Int32 volunteerId, global::System.Int32 jobId) { VolunteerCapability volunteerCapability = new VolunteerCapability(); volunteerCapability.VolunteerId = volunteerId; volunteerCapability.JobId = jobId; return volunteerCapability; }