Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HubStatusHistoryRefs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHubStatusHistoryRefs(HubStatusHistoryRef hubStatusHistoryRef)
 {
     base.AddObject("HubStatusHistoryRefs", hubStatusHistoryRef);
 }
Пример #2
0
 /// <summary>
 /// Create a new HubStatusHistoryRef object.
 /// </summary>
 /// <param name="hubStatusHistoryRefId">Initial value of the HubStatusHistoryRefId property.</param>
 /// <param name="hubId">Initial value of the HubId property.</param>
 /// <param name="statusHistoryId">Initial value of the StatusHistoryId property.</param>
 public static HubStatusHistoryRef CreateHubStatusHistoryRef(global::System.Int32 hubStatusHistoryRefId, global::System.Int32 hubId, global::System.Int32 statusHistoryId)
 {
     HubStatusHistoryRef hubStatusHistoryRef = new HubStatusHistoryRef();
     hubStatusHistoryRef.HubStatusHistoryRefId = hubStatusHistoryRefId;
     hubStatusHistoryRef.HubId = hubId;
     hubStatusHistoryRef.StatusHistoryId = statusHistoryId;
     return hubStatusHistoryRef;
 }