/// <summary>
 /// Create a new Agent object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Agent CreateAgent(global::System.Int32 id, global::System.String name)
 {
     Agent agent = new Agent();
     agent.Id = id;
     agent.Name = name;
     return agent;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Agents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAgents(Agent agent)
 {
     base.AddObject("Agents", agent);
 }