Ejemplo n.º 1
0
 /// <summary>
 /// 用于向 GeoGraphs EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToGeoGraphs(GeoGraph geoGraph)
 {
     base.AddObject("GeoGraphs", geoGraph);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 创建新的 GeoGraph 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="geometryType">GeometryType 属性的初始值。</param>
 /// <param name="geometry">Geometry 属性的初始值。</param>
 /// <param name="geogrphy">Geogrphy 属性的初始值。</param>
 /// <param name="points">Points 属性的初始值。</param>
 /// <param name="point3D">Point3D 属性的初始值。</param>
 public static GeoGraph CreateGeoGraph(global::System.Int32 id, global::System.String name, global::System.String content, global::System.String geometryType, global::System.String geometry, global::System.String geogrphy, global::System.String points, global::System.String point3D)
 {
     GeoGraph geoGraph = new GeoGraph();
     geoGraph.Id = id;
     geoGraph.Name = name;
     geoGraph.Content = content;
     geoGraph.GeometryType = geometryType;
     geoGraph.Geometry = geometry;
     geoGraph.Geogrphy = geogrphy;
     geoGraph.Points = points;
     geoGraph.Point3D = point3D;
     return geoGraph;
 }