/// <summary> /// Deprecated Method for adding a new object to the AgentStates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAgentStates(AgentState agentState) { base.AddObject("AgentStates", agentState); }
/// <summary> /// Create a new AgentState object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static AgentState CreateAgentState(global::System.Int32 id) { AgentState agentState = new AgentState(); agentState.Id = id; return agentState; }