Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MetaServices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMetaServices(MetaService metaService)
 {
     base.AddObject("MetaServices", metaService);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new MetaService object.
 /// </summary>
 /// <param name="metaServiceId">Initial value of the MetaServiceId property.</param>
 /// <param name="serviceDataContract">Initial value of the ServiceDataContract property.</param>
 /// <param name="serviceWsdl">Initial value of the ServiceWsdl property.</param>
 /// <param name="lastStatusHistoryID">Initial value of the LastStatusHistoryID property.</param>
 public static MetaService CreateMetaService(global::System.Int32 metaServiceId, global::System.String serviceDataContract, global::System.String serviceWsdl, global::System.Int32 lastStatusHistoryID)
 {
     MetaService metaService = new MetaService();
     metaService.MetaServiceId = metaServiceId;
     metaService.ServiceDataContract = serviceDataContract;
     metaService.ServiceWsdl = serviceWsdl;
     metaService.LastStatusHistoryID = lastStatusHistoryID;
     return metaService;
 }