<?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 Re: Create QueryLayer without the use of ArcGIS.Core.Data in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1099839#M7151</link>
    <description>&lt;P&gt;Thanks Rich,&lt;BR /&gt;&lt;BR /&gt;I will try the plugin datasource way.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 12:20:28 GMT</pubDate>
    <dc:creator>TomGeo</dc:creator>
    <dc:date>2021-09-20T12:20:28Z</dc:date>
    <item>
      <title>Create QueryLayer without the use of ArcGIS.Core.Data</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1098338#M7129</link>
      <description>&lt;P&gt;Currently I am creating QueryLayer using ArcGIS.Core.Data functionality where I retrieve data from an Oracle database, utilizing the Database, and DatabaseConnectionProperties class etc.&lt;BR /&gt;It works! However, it is relatively slow, and I think it has something to do with the way the SDK connects and reads the database in question.&lt;BR /&gt;&lt;BR /&gt;For simple retrieving of unique values from a database table I am not using Esri classes any more, but went with Oracle.ManagedDataAccess. It is a drastic change in response time doing so, and my "customers" love it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence, I would like to use Oracle.ManagedDataAccess to query the database, retrieve the data and use them to create a FeatureClass, and FeatureLayer.&lt;/P&gt;&lt;P&gt;Retrieving the data is not the problem, but creating the FeatureClass is.&lt;BR /&gt;Currently I am creating the FeatureClass through the OpenTable method of the ArcGIS.Core.Data Database class. That means I am back to square one, because I have to establish the connection through the AGP SDK.&lt;/P&gt;&lt;P&gt;Is there a way to use Oracle.ManagedDataAccess to create QueryLayer?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 08:07:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1098338#M7129</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2021-09-15T08:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create QueryLayer without the use of ArcGIS.Core.Data</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1098631#M7133</link>
      <description>&lt;P&gt;Thomas-&lt;/P&gt;&lt;P&gt;There's no way to directly create a FeatureClass/FeatureLayer from a data structure returned from an Oracle API.&lt;/P&gt;&lt;P&gt;Some ideas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a plugin datasource that reads from the Oracle.ManagedDataAccess. Plugin datasources are described &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Plugin-Datasources" target="_self"&gt;here&lt;/A&gt;. The resulting feature class is read-only.&lt;/LI&gt;&lt;LI&gt;Copy the data into a &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-DDL#memory-geodatabases" target="_self"&gt;memory geodatabase&lt;/A&gt;. This is read-write, but of course any changes you make are to the memory database, not the Oracle tables.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 19:22:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1098631#M7133</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2021-09-15T19:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create QueryLayer without the use of ArcGIS.Core.Data</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1099839#M7151</link>
      <description>&lt;P&gt;Thanks Rich,&lt;BR /&gt;&lt;BR /&gt;I will try the plugin datasource way.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 12:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/create-querylayer-without-the-use-of-arcgis-core/m-p/1099839#M7151</guid>
      <dc:creator>TomGeo</dc:creator>
      <dc:date>2021-09-20T12:20:28Z</dc:date>
    </item>
  </channel>
</rss>

