/// <summary> /// Deprecated Method for adding a new object to the RequirementLocation EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRequirementLocation(RequirementLocation requirementLocation) { base.AddObject("RequirementLocation", requirementLocation); }
/// <summary> /// Create a new RequirementLocation object. /// </summary> /// <param name="requirementLocationId">Initial value of the RequirementLocationId property.</param> /// <param name="requirementId">Initial value of the RequirementId property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="areaId">Initial value of the AreaId property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static RequirementLocation CreateRequirementLocation(global::System.Int64 requirementLocationId, global::System.Int64 requirementId, global::System.Int32 cityId, global::System.String areaId, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.Int32 createdBy, global::System.Int32 updatedBy, global::System.Boolean isActive, global::System.Boolean isDeleted) { RequirementLocation requirementLocation = new RequirementLocation(); requirementLocation.RequirementLocationId = requirementLocationId; requirementLocation.RequirementId = requirementId; requirementLocation.CityId = cityId; requirementLocation.AreaId = areaId; requirementLocation.CreatedOn = createdOn; requirementLocation.UpdatedOn = updatedOn; requirementLocation.CreatedBy = createdBy; requirementLocation.UpdatedBy = updatedBy; requirementLocation.IsActive = isActive; requirementLocation.IsDeleted = isDeleted; return requirementLocation; }