示例#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);
 }
示例#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;
 }