コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AgentStates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAgentStates(AgentState agentState)
 {
     base.AddObject("AgentStates", agentState);
 }