コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Surfaces EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurfaces(Surface surface)
 {
     base.AddObject("Surfaces", surface);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Surface object.
 /// </summary>
 /// <param name="surfaceID">Initial value of the SurfaceID property.</param>
 /// <param name="surfaceType">Initial value of the SurfaceType property.</param>
 public static Surface CreateSurface(global::System.Int32 surfaceID, global::System.String surfaceType)
 {
     Surface surface = new Surface();
     surface.SurfaceID = surfaceID;
     surface.SurfaceType = surfaceType;
     return surface;
 }