<?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: Connecting to an external Oracle database in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786206#M1266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the answer to your question about how to use the Oracle.ManagedDataAccess control inside a Pro add-in.&amp;nbsp; I'm not familiar with the control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternate implementation you might consider is to use the &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic6911.html"&gt;Database&lt;/A&gt; class from the Pro SDK.&amp;nbsp; This allows you to directly access relational databases that may or may not be ArcGIS geodatabases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 20:58:55 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2019-07-30T20:58:55Z</dc:date>
    <item>
      <title>Connecting to an external Oracle database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786205#M1265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I&amp;nbsp;need to connect to an external data table through the Oracle.ManagedDataAccess control. I installed it from the NuGet package for the latest version but I always get the following error:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;System.IO.FileNotFoundException: 'Could not load file or assembly 'Oracle.ManagedDataAccess' or one of its dependencies. The system cannot find the file specified.'&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have tried connecting from within Pro. I have tried in an await and outside of an await function. I have tried to create a class DLL and reference it to the project. All of these return the same error FileNotFound. I know the Oracle driver works because I have tested it in other non ArcGIS Pro apps.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Using ArcGIS Pro 2.4; Visual Studio 2017; and Oracle.ManagedDataAcess version 4.122.19.1&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Thanks.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;FYI - this may appear as a duplicate posting but the first one was accidentally posted as a "Discussion" and not a question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786205#M1265</guid>
      <dc:creator>BryanLynn1</dc:creator>
      <dc:date>2019-07-30T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to an external Oracle database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786206#M1266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know the answer to your question about how to use the Oracle.ManagedDataAccess control inside a Pro add-in.&amp;nbsp; I'm not familiar with the control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternate implementation you might consider is to use the &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic6911.html"&gt;Database&lt;/A&gt; class from the Pro SDK.&amp;nbsp; This allows you to directly access relational databases that may or may not be ArcGIS geodatabases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786206#M1266</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-07-30T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to an external Oracle database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786207#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been using the Geodatabase class to access a feature class and get info. However, the performance is horrible!! I was hoping to use the Oracle.ManageDataAccess control to go straight against the database views and hopefully get better performance (this is what I have done in my ArcMap Add-Ins and the performance is great). I will look at the Database class but I assume it will be the same on a performance level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I say bad performance here is an example. I am looking up a subdivision by object id. In ArcMap it takes less than a second to locate and&amp;nbsp;highlight&amp;nbsp;the subdivision in the map - basically I click the OK button and it shows up. In Pro, it takes close to 3 seconds to highlight the subdivision in the map. It isn't just the subdivision feature class either, I have seen this same type of performance with other feature classes. I am currently drawing nothing in the map - just highlight the subdivision. In this example, I am not using the Oracle.ManagedDataAccess class I am using the Geodatabase class in Pro SDK or ArcObjects for ArcMap. I am experiencing the same slowness with other simple database type queries where I only want attribute info which is why I wanted to try the Oracle data provider. My preference is to stick with ArcGIS Pro SDK objects and controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this behavior typical? If so, I will move on, finish the code, and live with the poor performance. If not, I would like to build it right the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 15:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786207#M1267</guid>
      <dc:creator>BryanLynn1</dc:creator>
      <dc:date>2019-08-01T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to an external Oracle database</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786208#M1268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a quick video to show the performance I am seeing in Pro vs ArcMap.&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6162688781001w320h240r711" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6162688781001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6162688781001w320h240r711');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6162688781001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 15:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/connecting-to-an-external-oracle-database/m-p/786208#M1268</guid>
      <dc:creator>BryanLynn1</dc:creator>
      <dc:date>2019-08-01T15:50:58Z</dc:date>
    </item>
  </channel>
</rss>

