/// <summary> /// Create a new agent object. /// </summary> /// <param name="jobID">Initial value of the JobID property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="hostName">Initial value of the HostName property.</param> /// <param name="agentID">Initial value of the AgentID property.</param> public static agent Createagent(global::System.String jobID, global::System.String status, global::System.String hostName, global::System.String agentID) { agent agent = new agent(); agent.JobID = jobID; agent.Status = status; agent.HostName = hostName; agent.AgentID = agentID; return agent; }
/// <summary> /// Deprecated Method for adding a new object to the agents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToagents(agent agent) { base.AddObject("agents", agent); }