コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the hostinfos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohostinfos(hostinfo hostinfo)
 {
     base.AddObject("hostinfos", hostinfo);
 }
コード例 #2
0
 /// <summary>
 /// Create a new hostinfo object.
 /// </summary>
 /// <param name="host_id">Initial value of the host_id property.</param>
 /// <param name="oSTYPE">Initial value of the OSTYPE property.</param>
 /// <param name="oSVersion">Initial value of the OSVersion property.</param>
 public static hostinfo Createhostinfo(global::System.Int64 host_id, global::System.String oSTYPE, global::System.String oSVersion)
 {
     hostinfo hostinfo = new hostinfo();
     hostinfo.host_id = host_id;
     hostinfo.OSTYPE = oSTYPE;
     hostinfo.OSVersion = oSVersion;
     return hostinfo;
 }