Beispiel #1
0
 /// <summary>
 /// Create a new Hub object.
 /// </summary>
 /// <param name="hubId">Initial value of the HubId property.</param>
 /// <param name="gatewayId">Initial value of the GatewayId property.</param>
 /// <param name="lastStatusHistoryID">Initial value of the LastStatusHistoryID property.</param>
 public static Hub CreateHub(global::System.Int32 hubId, global::System.Int32 gatewayId, global::System.Int32 lastStatusHistoryID)
 {
     Hub hub = new Hub();
     hub.HubId = hubId;
     hub.GatewayId = gatewayId;
     hub.LastStatusHistoryID = lastStatusHistoryID;
     return hub;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Hubs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHubs(Hub hub)
 {
     base.AddObject("Hubs", hub);
 }