/// <summary>
 /// Deprecated Method for adding a new object to the publishtargetsinfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopublishtargetsinfoes(publishtargetsinfo publishtargetsinfo)
 {
     base.AddObject("publishtargetsinfoes", publishtargetsinfo);
 }
 /// <summary>
 /// Create a new publishtargetsinfo object.
 /// </summary>
 /// <param name="targetsite_id">Initial value of the targetsite_id property.</param>
 /// <param name="enabled">Initial value of the enabled property.</param>
 /// <param name="server_root">Initial value of the server_root property.</param>
 /// <param name="geosite_id">Initial value of the geosite_id property.</param>
 /// <param name="server_link">Initial value of the server_link property.</param>
 public static publishtargetsinfo Createpublishtargetsinfo(global::System.Int64 targetsite_id, global::System.String enabled, global::System.String server_root, global::System.Int32 geosite_id, global::System.String server_link)
 {
     publishtargetsinfo publishtargetsinfo = new publishtargetsinfo();
     publishtargetsinfo.targetsite_id = targetsite_id;
     publishtargetsinfo.enabled = enabled;
     publishtargetsinfo.server_root = server_root;
     publishtargetsinfo.geosite_id = geosite_id;
     publishtargetsinfo.server_link = server_link;
     return publishtargetsinfo;
 }