/// <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);
 }
 /// <summary>
 /// Create a new Agent object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static Agent CreateAgent(global::System.Guid userId)
 {
     Agent agent = new Agent();
     agent.UserId = userId;
     return agent;
 }