/// <summary> /// Create a new FacilityType object. /// </summary> /// <param name="facilityTypeId">Initial value of the FacilityTypeId property.</param> public static FacilityType CreateFacilityType(global::System.Int32 facilityTypeId) { FacilityType facilityType = new FacilityType(); facilityType.FacilityTypeId = facilityTypeId; return facilityType; }
/// <summary> /// Deprecated Method for adding a new object to the FacilityTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFacilityTypes(FacilityType facilityType) { base.AddObject("FacilityTypes", facilityType); }