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