Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HubServices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHubServices(HubService hubService)
 {
     base.AddObject("HubServices", hubService);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new HubService object.
 /// </summary>
 /// <param name="hubServiceId">Initial value of the HubServiceId property.</param>
 /// <param name="hubId">Initial value of the HubId property.</param>
 /// <param name="lastStatusHistoryID">Initial value of the LastStatusHistoryID property.</param>
 /// <param name="metaServiceId">Initial value of the MetaServiceId property.</param>
 public static HubService CreateHubService(global::System.Int32 hubServiceId, global::System.Int32 hubId, global::System.Int32 lastStatusHistoryID, global::System.Int32 metaServiceId)
 {
     HubService hubService = new HubService();
     hubService.HubServiceId = hubServiceId;
     hubService.HubId = hubId;
     hubService.LastStatusHistoryID = lastStatusHistoryID;
     hubService.MetaServiceId = metaServiceId;
     return hubService;
 }