/// <summary> /// Deprecated Method for adding a new object to the hostinfos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTohostinfos(hostinfo hostinfo) { base.AddObject("hostinfos", hostinfo); }
/// <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; }