/// <summary> /// Deprecated Method for adding a new object to the ProjectRequirements EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjectRequirements(ProjectRequirement projectRequirement) { base.AddObject("ProjectRequirements", projectRequirement); }
/// <summary> /// Create a new ProjectRequirement object. /// </summary> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="lCID">Initial value of the LCID property.</param> /// <param name="categoryID">Initial value of the CategoryID property.</param> /// <param name="categoryName">Initial value of the CategoryName property.</param> /// <param name="jobID">Initial value of the JobID property.</param> /// <param name="jobTitle">Initial value of the JobTitle property.</param> /// <param name="experienceID">Initial value of the ExperienceID property.</param> /// <param name="crewNumberID">Initial value of the CrewNumberID property.</param> /// <param name="licensedID">Initial value of the LicensedID property.</param> /// <param name="insuredID">Initial value of the InsuredID property.</param> /// <param name="relocationID">Initial value of the RelocationID property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> /// <param name="amountOffered">Initial value of the AmountOffered property.</param> /// <param name="currencyID">Initial value of the CurrencyID property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="countryID">Initial value of the CountryID property.</param> /// <param name="countryName">Initial value of the CountryName property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="regionName">Initial value of the RegionName property.</param> /// <param name="datePosted">Initial value of the DatePosted property.</param> public static ProjectRequirement CreateProjectRequirement(global::System.Int64 projectID, global::System.Int32 lCID, global::System.Int32 categoryID, global::System.String categoryName, global::System.Int32 jobID, global::System.String jobTitle, global::System.Int32 experienceID, global::System.Int32 crewNumberID, global::System.Int32 licensedID, global::System.Int32 insuredID, global::System.Int32 relocationID, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Double amountOffered, global::System.Int32 currencyID, global::System.String address, global::System.Int32 countryID, global::System.String countryName, global::System.Int32 regionID, global::System.String regionName, global::System.DateTime datePosted) { ProjectRequirement projectRequirement = new ProjectRequirement(); projectRequirement.ProjectID = projectID; projectRequirement.LCID = lCID; projectRequirement.CategoryID = categoryID; projectRequirement.CategoryName = categoryName; projectRequirement.JobID = jobID; projectRequirement.JobTitle = jobTitle; projectRequirement.ExperienceID = experienceID; projectRequirement.CrewNumberID = crewNumberID; projectRequirement.LicensedID = licensedID; projectRequirement.InsuredID = insuredID; projectRequirement.RelocationID = relocationID; projectRequirement.StartDate = startDate; projectRequirement.EndDate = endDate; projectRequirement.AmountOffered = amountOffered; projectRequirement.CurrencyID = currencyID; projectRequirement.Address = address; projectRequirement.CountryID = countryID; projectRequirement.CountryName = countryName; projectRequirement.RegionID = regionID; projectRequirement.RegionName = regionName; projectRequirement.DatePosted = datePosted; return projectRequirement; }