Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VolunteerCapabilities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVolunteerCapabilities(VolunteerCapability volunteerCapability)
 {
     base.AddObject("VolunteerCapabilities", volunteerCapability);
 }
Exemple #2
0
 /// <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;
 }