/// <summary> /// Create a new HR_Locations object. /// </summary> /// <param name="locationID">Initial value of the LocationID property.</param> /// <param name="countryCode">Initial value of the CountryCode property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="zipCode">Initial value of the ZipCode property.</param> public static HR_Locations CreateHR_Locations(global::System.Int32 locationID, global::System.String countryCode, global::System.String state, global::System.String city, global::System.String zipCode) { HR_Locations hR_Locations = new HR_Locations(); hR_Locations.LocationID = locationID; hR_Locations.CountryCode = countryCode; hR_Locations.State = state; hR_Locations.City = city; hR_Locations.ZipCode = zipCode; return hR_Locations; }
/// <summary> /// Deprecated Method for adding a new object to the HR_Locations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_Locations(HR_Locations hR_Locations) { base.AddObject("HR_Locations", hR_Locations); }