<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to use EnterpriseGeodatabaseWorkspace to edit the SDE in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86643#M911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;100.1 was released&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;Several objects have been added to this release&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;For example, EnterpriseGeodatabaseWorkspace FileGeodatabaseWorkspace, RasterWorkspace ShapefileWorkspace&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;But I don't know how to use them&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;How to use them to edit sde, FileGeodatabase, and Shape.&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;Can you give an example?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="New working space" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/359562_TIM图片20170630180712.png" style="width: 620px; height: 598px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2017 10:12:46 GMT</pubDate>
    <dc:creator>xipeng</dc:creator>
    <dc:date>2017-06-30T10:12:46Z</dc:date>
    <item>
      <title>How to use EnterpriseGeodatabaseWorkspace to edit the SDE</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86643#M911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;100.1 was released&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;Several objects have been added to this release&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;For example, EnterpriseGeodatabaseWorkspace FileGeodatabaseWorkspace, RasterWorkspace ShapefileWorkspace&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;But I don't know how to use them&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;How to use them to edit sde, FileGeodatabase, and Shape.&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;Can you give an example?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="New working space" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/359562_TIM图片20170630180712.png" style="width: 620px; height: 598px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 10:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86643#M911</guid>
      <dc:creator>xipeng</dc:creator>
      <dc:date>2017-06-30T10:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use EnterpriseGeodatabaseWorkspace to edit the SDE</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86644#M912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These workspaces allow dynamically requesting data from the below mentioned workspaces and render them as ArcGISMapImageLayer.Sublayer collection. Note, these workspaces require use of Local Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are some examples. You would need to replace the parts of code where it is requiring a path to data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EnterpriseGeodataWorkspace: Displays dynamic layers based upon layers in an enterprise geodatabase(via database connection string) using local server.Uses the LocalServices.EnterpriseGeodatabaseWorkspace and Mapping.TableSublayerSource to display the layers in an enterprise geodatabase as ArcGISMapImageLayer.Sublayers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;LocalMapService myLocalMapService = new LocalMapService(@"Path To MPK");&lt;/P&gt;&lt;P&gt;// Create an enterprise geodatabase workspace.&lt;BR /&gt; EnterpriseGeodatabaseWorkspace myEnterpriseGeodatabaseWorkspace = EnterpriseGeodatabaseWorkspace.CreateFromConnectionString("database connection string", "PASSWORD=pwd;SERVER=SQLSRV;INSTANCE=sdeinstance;DBCLIENT=sqlserver;DB_CONNECTION_PROPERTIES=connectionProp;DATABASE=DBName;USER=user;VERSION=DBversion;AUTHENTICATION_MODE=DBMS");&lt;/P&gt;&lt;P&gt;// Create an empty DynamicWorkspace and add a EnterpriseGeodatabaseWorkspace into it's collection.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myIEnumerableOfDynamicWorkpace = new List&amp;lt;DynamicWorkspace&amp;gt;();&lt;BR /&gt; myIEnumerableOfDynamicWorkpace.Add(myEnterpriseGeodatabaseWorkspace);&lt;/P&gt;&lt;P&gt;// Now set the DynamicWorkspace of the LocalMapService to the one just created.&lt;BR /&gt; myLocalMapService.SetDynamicWorkspaces(myIEnumerableOfDynamicWorkpace);&lt;/P&gt;&lt;P&gt;// Start the local map service.&lt;BR /&gt; await myLocalMapService.StartAsync();&lt;/P&gt;&lt;P&gt;// Create an ArcGIS map image layer using the same url as the local map service.&lt;BR /&gt; Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer myArcGISMapImageLayer = new Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer(myLocalMapService.Url);&lt;BR /&gt; myArcGISMapImageLayer.Name = "Enterprise";&lt;/P&gt;&lt;P&gt;// Get the first dynamic workspace from the local map service.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myListOfDynamicWorkspaces = (List&amp;lt;DynamicWorkspace&amp;gt;)myLocalMapService.GetDynamicWorkspaces();&lt;BR /&gt; DynamicWorkspace oneDynamicWorkspace = myListOfDynamicWorkspaces[0];&lt;/P&gt;&lt;P&gt;// Cast the DynamicWorkspace to a EnterpriseGeodatabaseWorkspace.&lt;BR /&gt; EnterpriseGeodatabaseWorkspace oneEnterpriseGeodatabaseWorkspace = (EnterpriseGeodatabaseWorkspace)oneDynamicWorkspace;&lt;/P&gt;&lt;P&gt;// Create a simple fill symbol&lt;BR /&gt; SimpleFillSymbol mySimpleFillSymbol = new SimpleFillSymbol();&lt;BR /&gt; mySimpleFillSymbol.Color = Colors.Aqua;&lt;BR /&gt; mySimpleFillSymbol.Style = SimpleFillSymbolStyle.Solid;&lt;/P&gt;&lt;P&gt;// Create a simple renderer&lt;BR /&gt; SimpleRenderer mySimpleRenderer3 = new SimpleRenderer();&lt;BR /&gt; mySimpleRenderer3.Symbol = mySimpleFillSymbol;&lt;/P&gt;&lt;P&gt;// Create a table sub-layer source using the id from the enterprise geodatabase workspace id and a specific layer in the enterprise geodatabase workspace &lt;BR /&gt; TableSublayerSource myTableSubLayerSource3 = new TableSublayerSource(oneEnterpriseGeodatabaseWorkspace.Id, "DB.DBO.Tablename");//Fullyqualified table name&lt;/P&gt;&lt;P&gt;// Create a new ArcGIS map image sub-layer based on the table sub-layer source &lt;BR /&gt; ArcGISMapImageSublayer myArcGISMapImageSublayer3 = new ArcGISMapImageSublayer(2, myTableSubLayerSource3);&lt;BR /&gt; myArcGISMapImageSublayer3.Renderer = mySimpleRenderer3;&lt;/P&gt;&lt;P&gt;// Add the ArcGIS map image sub-layer to the sub-layers collection of the ArcGIS map image layer&lt;BR /&gt; myArcGISMapImageLayer.Sublayers.Add(myArcGISMapImageSublayer3);&lt;/P&gt;&lt;P&gt;// Add the dynamic ArcGIS map image layer to the map.&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(myArcGISMapImageLayer);&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileGeoDatabaseWorkspace&lt;/P&gt;&lt;P&gt;Displays dynamic layers based upon layers in an enterprise geodatabase (via .sde file) using local server. Uses the &lt;BR /&gt;LocalServices.EnterpriseGeodatabaseWorkspace and Mapping.TableSublayerSource to display the layers in an enterprise&amp;nbsp;geodatabase as ArcGISMapImageLayer.Sublayers.&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt; LocalMapService myLocalMapService = new LocalMapService(@"Path to Mpk");&lt;/P&gt;&lt;P&gt;// Create an enterprise geodatabase workspace.&lt;BR /&gt; EnterpriseGeodatabaseWorkspace myEnterpriseGeodatabaseWorkspace = EnterpriseGeodatabaseWorkspace.CreateFromConnectionFile("sde file", "\\\\SdeFconnectionfile.sde");&lt;/P&gt;&lt;P&gt;// Create an empty DynamicWorkspace and add a EnterpriseGeodatabaseWorkspace into it's collection.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myIEnumerableOfDynamicWorkpace = new List&amp;lt;DynamicWorkspace&amp;gt;();&lt;BR /&gt; myIEnumerableOfDynamicWorkpace.Add(myEnterpriseGeodatabaseWorkspace);&lt;/P&gt;&lt;P&gt;// Now set the DynamicWorkspace of the LocalMapService to the one just created.&lt;BR /&gt; myLocalMapService.SetDynamicWorkspaces(myIEnumerableOfDynamicWorkpace);&lt;/P&gt;&lt;P&gt;// Start the local map service.&lt;BR /&gt; await myLocalMapService.StartAsync();&lt;/P&gt;&lt;P&gt;// Create an ArcGIS map image layer using the same url as the local map service.&lt;BR /&gt; Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer myArcGISMapImageLayer = new Esri.ArcGISRuntime.Mapping.ArcGISMapImageLayer(myLocalMapService.Url);&lt;BR /&gt; myArcGISMapImageLayer.Name = "Enterprise";&lt;/P&gt;&lt;P&gt;// Get the first dynamic workspace from the local map service.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myListOfDynamicWorkspaces = (List&amp;lt;DynamicWorkspace&amp;gt;)myLocalMapService.GetDynamicWorkspaces();&lt;BR /&gt; DynamicWorkspace oneDynamicWorkspace = myListOfDynamicWorkspaces[0];&lt;/P&gt;&lt;P&gt;// Cast the DynamicWorkspace to a EnterpriseGeodatabaseWorkspace.&lt;BR /&gt; EnterpriseGeodatabaseWorkspace oneEnterpriseGeodatabaseWorkspace = (EnterpriseGeodatabaseWorkspace)oneDynamicWorkspace;&lt;/P&gt;&lt;P&gt;// Create a simple fill symbol&lt;BR /&gt; SimpleFillSymbol mySimpleFillSymbol = new SimpleFillSymbol();&lt;BR /&gt; mySimpleFillSymbol.Color = Colors.Black;&lt;BR /&gt; mySimpleFillSymbol.Style = SimpleFillSymbolStyle.Solid;&lt;/P&gt;&lt;P&gt;// Create a simple renderer&lt;BR /&gt; SimpleRenderer mySimpleRenderer3 = new SimpleRenderer();&lt;BR /&gt; mySimpleRenderer3.Symbol = mySimpleFillSymbol;&lt;/P&gt;&lt;P&gt;// Create a table sub-layer source using the id from the enterprise geodatabase workspace id and a specific layer in the enterprise geodatabase workspace &lt;BR /&gt; TableSublayerSource myTableSubLayerSource3 = new TableSublayerSource(oneEnterpriseGeodatabaseWorkspace.Id, "Tablename");&lt;/P&gt;&lt;P&gt;// Create a new ArcGIS map image sub-layer based on the table sub-layer source &lt;BR /&gt; ArcGISMapImageSublayer myArcGISMapImageSublayer3 = new ArcGISMapImageSublayer(2, myTableSubLayerSource3);&lt;BR /&gt; myArcGISMapImageSublayer3.Renderer = mySimpleRenderer3;&lt;/P&gt;&lt;P&gt;// Add the ArcGIS map image sub-layer to the sub-layers collection of the ArcGIS map image layer&lt;BR /&gt; myArcGISMapImageLayer.Sublayers.Add(myArcGISMapImageSublayer3);&lt;/P&gt;&lt;P&gt;// Add the dynamic ArcGIS map image layer to the map.&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(myArcGISMapImageLayer);&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;RasterWorkspace:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;Displays dynamic raster layers based in a folder on disk using local server. Uses the LocalServices.RasterWorkspace and&amp;nbsp;Mapping.RasterSublayerSource to display the raster layers in a folder on disk as ArcGISMapImageLayer.Sublayers.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;```&lt;/SPAN&gt;&lt;BR /&gt; LocalMapService myLocalMapService = new LocalMapService(@" Path to mpk");&lt;/P&gt;&lt;P&gt;// Create a raster geodatabase workspace (aka. a folder on disk that contains raster images).&lt;BR /&gt; RasterWorkspace myRasterWorkspace = new RasterWorkspace("raster_wkspc", @"PathtoRasterFolder");&lt;/P&gt;&lt;P&gt;// Create an empty DynamicWorkspace and add a RasterWorkspace into it's collection.&lt;BR /&gt; List&amp;lt;Esri.ArcGISRuntime.LocalServices.DynamicWorkspace&amp;gt; myIEnumerableOfDynamicWorkpace = new List&amp;lt;Esri.ArcGISRuntime.LocalServices.DynamicWorkspace&amp;gt;();&lt;BR /&gt; myIEnumerableOfDynamicWorkpace.Add(myRasterWorkspace);&lt;/P&gt;&lt;P&gt;// Now set the DynamicWorkspace of the LocalMapService to the one just created.&lt;BR /&gt; myLocalMapService.SetDynamicWorkspaces(myIEnumerableOfDynamicWorkpace);&lt;/P&gt;&lt;P&gt;// Start the local map service.&lt;BR /&gt; await myLocalMapService.StartAsync();&lt;/P&gt;&lt;P&gt;// Create an ArcGIS map image layer using the same url as the local map service.&lt;BR /&gt; ArcGISMapImageLayer myArcGISMapImageLayer = new ArcGISMapImageLayer(myLocalMapService.Url);&lt;BR /&gt; myArcGISMapImageLayer.Name = "WithRaster";&lt;/P&gt;&lt;P&gt;// Get the first dynamic workspace from the local map service.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myListOfDynamicWorkspaces = (List&amp;lt;DynamicWorkspace&amp;gt;)myLocalMapService.GetDynamicWorkspaces();&lt;BR /&gt; DynamicWorkspace oneDynamicWorkspace = myListOfDynamicWorkspaces[0];&lt;/P&gt;&lt;P&gt;// Cast the DynamicWorkspace to a RasterWorkspace&lt;BR /&gt; RasterWorkspace oneRasterWorkspace = (RasterWorkspace)oneDynamicWorkspace;&lt;/P&gt;&lt;P&gt;// Create a raster sub-layer source using the id from the raster workspace id and a specific raster image by file name.&lt;BR /&gt; RasterSublayerSource myRasterSubLayerSource1 = new RasterSublayerSource(oneRasterWorkspace.Id, "Raster.tif");&lt;/P&gt;&lt;P&gt;// Create a new ArcGIS map image sub-layer based on the raster sub-layer source .&lt;BR /&gt; ArcGISMapImageSublayer myArcGISMapImageSublayer1 = new ArcGISMapImageSublayer(0, myRasterSubLayerSource1);&lt;/P&gt;&lt;P&gt;// Add the ArcGIS map image sub-layer to the sub-layers collection of the ArcGIS map image layer.&lt;BR /&gt; // NOTE: default rendering of the raster image will be used.&lt;BR /&gt; myArcGISMapImageLayer.Sublayers.Add(myArcGISMapImageSublayer1);&lt;/P&gt;&lt;P&gt;// Add the dynamic ArcGIS map image layer to the map.&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(myArcGISMapImageLayer);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;ShapeFileWorkspace:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;Displays dynamic layers based upon shapefiles using local server. Uses the LocalServices.ShapefileWorkspace and&lt;BR /&gt;Mapping.TableSublayerSource to display the shapefiles as ArcGISMapImageLayer.Sublayers.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LocalMapService myLocalMapService = new LocalMapService(@"Path to mpk");&lt;/P&gt;&lt;P&gt;// Create a shapefile workspace.&lt;BR /&gt; ShapefileWorkspace myShapefileWorkspace = new ShapefileWorkspace("MyShapefileWorkspace", @"PathToShapefile");&lt;/P&gt;&lt;P&gt;// Create an empty DynamicWorkspace and add a ShapefileWorkspace into it's collection.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myIEnumerableOfDynamicWorkpace = new List&amp;lt;DynamicWorkspace&amp;gt;();&lt;BR /&gt; myIEnumerableOfDynamicWorkpace.Add(myShapefileWorkspace);&lt;/P&gt;&lt;P&gt;// Now set the DynamicWorkspace of the LocalMapService to the one just created.&lt;BR /&gt; myLocalMapService.SetDynamicWorkspaces(myIEnumerableOfDynamicWorkpace);&lt;/P&gt;&lt;P&gt;// Start the local map service.&lt;BR /&gt; await myLocalMapService.StartAsync();&lt;/P&gt;&lt;P&gt;// Create an ArcGIS map image layer using the same url as the local map service.&lt;BR /&gt;ArcGISMapImageLayer myArcGISMapImageLayer = new ArcGISMapImageLayer(myLocalMapService.Url);&lt;/P&gt;&lt;P&gt;// Get the first dynamic workspace from the local map service.&lt;BR /&gt; List&amp;lt;DynamicWorkspace&amp;gt; myListOfDynamicWorkspaces = (List&amp;lt;DynamicWorkspace&amp;gt;)myLocalMapService.GetDynamicWorkspaces();&lt;BR /&gt; DynamicWorkspace oneDynamicWorkspace = myListOfDynamicWorkspaces[0];&lt;/P&gt;&lt;P&gt;// Cast the DynamicWorkspace to a ShapefileWorkspace&lt;BR /&gt; ShapefileWorkspace oneShapeFileWorkspace = (ShapefileWorkspace)oneDynamicWorkspace;&lt;/P&gt;&lt;P&gt;// --------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;// Create a simple marker symbol&lt;BR /&gt; SimpleMarkerSymbol mySimpleMarkerSymbol = new SimpleMarkerSymbol();&lt;BR /&gt; mySimpleMarkerSymbol.Color = Colors.Black;&lt;BR /&gt; mySimpleMarkerSymbol.Size = 10;&lt;BR /&gt; mySimpleMarkerSymbol.Style = SimpleMarkerSymbolStyle.Circle;&lt;/P&gt;&lt;P&gt;// Create a simple renderer&lt;BR /&gt; SimpleRenderer mySimpleRenderer1 = new SimpleRenderer();&lt;BR /&gt; mySimpleRenderer1.Symbol = mySimpleMarkerSymbol;&lt;/P&gt;&lt;P&gt;// Create a table sub-layer source using the id from the shapefile workspace id and a specific shapefile in the workspace &lt;BR /&gt; TableSublayerSource myTableSubLayerSource1 = new TableSublayerSource(oneShapeFileWorkspace.Id, "ShapeFileName.shp");&lt;/P&gt;&lt;P&gt;// Create a new ArcGIS map image sub-layer based on the table sub-layer source &lt;BR /&gt; ArcGISMapImageSublayer myArcGISMapImageSublayer1 = new ArcGISMapImageSublayer(0, myTableSubLayerSource1);&lt;BR /&gt; myArcGISMapImageSublayer1.Renderer = mySimpleRenderer1;&lt;/P&gt;&lt;P&gt;// Add the ArcGIS map image sub-layer to the sub-layers collection of the ArcGIS map image layer&lt;BR /&gt; myArcGISMapImageLayer.Sublayers.Add(myArcGISMapImageSublayer1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Add the dynamic ArcGIS map image layer to the map.&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(myArcGISMapImageLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86644#M912</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2017-06-30T19:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use EnterpriseGeodatabaseWorkspace to edit the SDE</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86645#M913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much for such a detailed answer, but I can't edit Feature which data source is from sde, GDB, shape,through ArcGISMapImageLayer, &amp;nbsp;and then unable to synchronize the data. Is that true?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;I want to edit the data&lt;/P&gt;&lt;P class="" style="color: #2b2b2b; background-color: #f8f8f8; border: 0px; font-size: 14px; margin: 0px 0px 0.4em;"&gt;Can you do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 09:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86645#M913</guid>
      <dc:creator>xipeng</dc:creator>
      <dc:date>2017-07-01T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use EnterpriseGeodatabaseWorkspace to edit the SDE</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86646#M914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify the layer types:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`ArcGISMapImageLayer` - Created for MapServer endpoints. Images are rendered server side (including "server-side" in ArcGIS Runtime Local Server). Does not expose edit capabilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`FeatureLayer` (`ServiceFeatureTable`) - Created for FeatureServer endpoints (FeatureServer + layer index). Features (attributes, geometry, attachments, and relationships) are returned from the server to the client app in response to queries. Features can be added, updated, and deleted via the feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To edit data in an Enterprise Geodatabase you can:&lt;/P&gt;&lt;P&gt;- Use ArcMap 10.5.1 to create a Map Package (.mpk) that references your geodatabase data.&lt;/P&gt;&lt;P&gt;- Start a `LocalFeatureService` using the API.&lt;/P&gt;&lt;P&gt;- Use the Uri of the local feature service to create a `ServiceFeatureTable`.&lt;/P&gt;&lt;P&gt;- Optionally create a `FeatureLayer` from the service feature table if you want to view/edit in the `MapView`.&lt;/P&gt;&lt;P&gt;- Add, update, or delete features in the service feature table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information see&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Data_ServiceFeatureTable.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Data_ServiceFeatureTable.htm"&gt;ServiceFeatureTable Class&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 21:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86646#M914</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2017-07-01T21:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use EnterpriseGeodatabaseWorkspace to edit the SDE</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86647#M915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;Thank you very much for your reply. I hope Runtime can support the editor later&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 01:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-use-enterprisegeodatabaseworkspace-to-edit/m-p/86647#M915</guid>
      <dc:creator>xipeng</dc:creator>
      <dc:date>2017-07-03T01:52:18Z</dc:date>
    </item>
  </channel>
</rss>

