Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Routes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoutes(Route route)
 {
     base.AddObject("Routes", route);
 }
Exemple #2
0
 /// <summary>
 /// Create a new Route object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Route CreateRoute(global::System.Int32 id)
 {
     Route route = new Route();
     route.Id = id;
     return route;
 }