示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Paths EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaths(Path path)
 {
     base.AddObject("Paths", path);
 }
示例#2
0
 /// <summary>
 /// Create a new Path object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="x">Initial value of the X property.</param>
 /// <param name="y">Initial value of the Y property.</param>
 public static Path CreatePath(global::System.Int32 id, global::System.Int32 number, global::System.Int32 x, global::System.Int32 y)
 {
     Path path = new Path();
     path.Id = id;
     path.Number = number;
     path.X = x;
     path.Y = y;
     return path;
 }