コード例 #1
0
 /// <summary>
 /// Create a new veeservice object.
 /// </summary>
 /// <param name="service_id">Initial value of the service_id property.</param>
 /// <param name="machine_name">Initial value of the machine_name property.</param>
 /// <param name="machine_ip">Initial value of the machine_ip property.</param>
 /// <param name="site_name">Initial value of the site_name property.</param>
 /// <param name="status_id">Initial value of the status_id property.</param>
 /// <param name="geosite_id">Initial value of the geosite_id property.</param>
 /// <param name="lastActivePulseTime">Initial value of the LastActivePulseTime property.</param>
 public static veeservice Createveeservice(global::System.Int64 service_id, global::System.String machine_name, global::System.String machine_ip, global::System.String site_name, global::System.Int64 status_id, global::System.Int32 geosite_id, global::System.DateTimeOffset lastActivePulseTime)
 {
     veeservice veeservice = new veeservice();
     veeservice.service_id = service_id;
     veeservice.machine_name = machine_name;
     veeservice.machine_ip = machine_ip;
     veeservice.site_name = site_name;
     veeservice.status_id = status_id;
     veeservice.geosite_id = geosite_id;
     veeservice.LastActivePulseTime = lastActivePulseTime;
     return veeservice;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the veeservices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToveeservices(veeservice veeservice)
 {
     base.AddObject("veeservices", veeservice);
 }