/// <summary> /// Deprecated Method for adding a new object to the HubServiceStatusHistoryRefs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHubServiceStatusHistoryRefs(HubServiceStatusHistoryRef hubServiceStatusHistoryRef) { base.AddObject("HubServiceStatusHistoryRefs", hubServiceStatusHistoryRef); }
/// <summary> /// Create a new HubServiceStatusHistoryRef object. /// </summary> /// <param name="hubServiceStatusHistoryRefId">Initial value of the HubServiceStatusHistoryRefId property.</param> /// <param name="hubServiceId">Initial value of the HubServiceId property.</param> /// <param name="statusHistoryId">Initial value of the StatusHistoryId property.</param> public static HubServiceStatusHistoryRef CreateHubServiceStatusHistoryRef(global::System.Int32 hubServiceStatusHistoryRefId, global::System.Int32 hubServiceId, global::System.Int32 statusHistoryId) { HubServiceStatusHistoryRef hubServiceStatusHistoryRef = new HubServiceStatusHistoryRef(); hubServiceStatusHistoryRef.HubServiceStatusHistoryRefId = hubServiceStatusHistoryRefId; hubServiceStatusHistoryRef.HubServiceId = hubServiceId; hubServiceStatusHistoryRef.StatusHistoryId = statusHistoryId; return hubServiceStatusHistoryRef; }