예제 #1
0
 /// <summary>
 /// 创建新的 DesktopGeoManage 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="tile">Tile 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="descript">Descript 属性的初始值。</param>
 /// <param name="link">link 属性的初始值。</param>
 /// <param name="geo_GraphID">Geo_GraphID 属性的初始值。</param>
 /// <param name="customGeographicTypeID">CustomGeographicTypeID 属性的初始值。</param>
 public static DesktopGeoManage CreateDesktopGeoManage(global::System.Int32 id, global::System.String tile, global::System.String content, global::System.String descript, global::System.String link, global::System.Int32 geo_GraphID, global::System.Int32 customGeographicTypeID)
 {
     DesktopGeoManage desktopGeoManage = new DesktopGeoManage();
     desktopGeoManage.ID = id;
     desktopGeoManage.Tile = tile;
     desktopGeoManage.Content = content;
     desktopGeoManage.Descript = descript;
     desktopGeoManage.link = link;
     desktopGeoManage.Geo_GraphID = geo_GraphID;
     desktopGeoManage.CustomGeographicTypeID = customGeographicTypeID;
     return desktopGeoManage;
 }
예제 #2
0
 /// <summary>
 /// 用于向 DesktopGeoManages EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDesktopGeoManages(DesktopGeoManage desktopGeoManage)
 {
     base.AddObject("DesktopGeoManages", desktopGeoManage);
 }