コード例 #1
0
 /// <summary>
 /// Create a new Plane object.
 /// </summary>
 /// <param name="planeId">Initial value of the PlaneId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="typeOfPlaneId">Initial value of the TypeOfPlaneId property.</param>
 public static Plane CreatePlane(global::System.Int32 planeId, global::System.String name, global::System.Int32 typeOfPlaneId)
 {
     Plane plane = new Plane();
     plane.PlaneId = planeId;
     plane.Name = name;
     plane.TypeOfPlaneId = typeOfPlaneId;
     return plane;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Planes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPlanes(Plane plane)
 {
     base.AddObject("Planes", plane);
 }