示例#1
0
        /// <summary>
        /// Create a new SpatialPoint object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        public static SpatialPoint CreateSpatialPoint(global::System.Int32 id)
        {
            SpatialPoint spatialPoint = new SpatialPoint();

            spatialPoint.Id = id;
            return(spatialPoint);
        }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SpatialPoints EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSpatialPoints(SpatialPoint spatialPoint)
 {
     base.AddObject("SpatialPoints", spatialPoint);
 }