/// <summary> /// Deprecated Method for adding a new object to the Surfaces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurfaces(Surface surface) { base.AddObject("Surfaces", surface); }
/// <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; }