<?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: How to use existing database connections in a project? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-use-existing-database-connections-in-a/m-p/848973#M4182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to visit the ArcGIS Pro GitHub wiki for code snippets to accomplish this task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below for link to wiki and code snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao,&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ bill&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#opening-an-enterprise-geodatabase-using-sde-file-path" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#opening-an-enterprise-geodatabase-using-sde-file-path"&gt;ProSnippets Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="color: #24292e; background-color: #ffffff; border-bottom: 1px solid #eaecef; font-weight: 600; font-size: 1.5em; margin-top: 24px; margin-bottom: 16px; padding-bottom: 0.3em;"&gt;Opening an Enterprise Geodatabase using sde file path&lt;/H2&gt;&lt;DIV class="" style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;PRE style="background-color: #f6f8fa; padding: 16px;"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;public&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;async&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Task&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;OpenEnterpriseGeodatabaseUsingSDEFilePath&lt;/SPAN&gt;() {&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #d73a49;"&gt;await&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ArcGIS&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Desktop&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Framework&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Threading&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Tasks&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;QueuedTask&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Run&lt;/SPAN&gt;(() &lt;SPAN class="" style="color: #d73a49;"&gt;=&amp;gt;&lt;/SPAN&gt; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;Geodatabase&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;geodatabase&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Geodatabase&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;DatabaseConnectionFile&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Uri&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #032f62;"&gt;&lt;SPAN class="" style="color: #032f62;"&gt;"&lt;/SPAN&gt;path&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;to&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;sde&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;file&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;sdefile.sde&lt;SPAN class="" style="color: #032f62;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;)))) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #6a737d;"&gt;&lt;SPAN class="" style="color: #6a737d;"&gt;//&lt;/SPAN&gt; Use the geodatabase.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; }); }&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2018 15:11:18 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-12-20T15:11:18Z</dc:date>
    <item>
      <title>How to use existing database connections in a project?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-use-existing-database-connections-in-a/m-p/848972#M4181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the database connections that already exist in a project to extract data form specific database tables/views.&lt;/P&gt;&lt;P&gt;How can I do this in C#? The databases I have to connect to are Oracle databases and i was wondering if I have to install the Oracle Developer Tools for VisualStudio and establish the connection this way, or if it is possible to use sde files containing the connection properties already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bests Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 12:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-use-existing-database-connections-in-a/m-p/848972#M4181</guid>
      <dc:creator>ThomasBecker</dc:creator>
      <dc:date>2018-12-20T12:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use existing database connections in a project?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-use-existing-database-connections-in-a/m-p/848973#M4182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to visit the ArcGIS Pro GitHub wiki for code snippets to accomplish this task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see below for link to wiki and code snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao,&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ bill&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#opening-an-enterprise-geodatabase-using-sde-file-path" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#opening-an-enterprise-geodatabase-using-sde-file-path"&gt;ProSnippets Geodatabase · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="color: #24292e; background-color: #ffffff; border-bottom: 1px solid #eaecef; font-weight: 600; font-size: 1.5em; margin-top: 24px; margin-bottom: 16px; padding-bottom: 0.3em;"&gt;Opening an Enterprise Geodatabase using sde file path&lt;/H2&gt;&lt;DIV class="" style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;&lt;PRE style="background-color: #f6f8fa; padding: 16px;"&gt;&lt;SPAN class="" style="color: #d73a49;"&gt;public&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;async&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Task&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;OpenEnterpriseGeodatabaseUsingSDEFilePath&lt;/SPAN&gt;() {&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #d73a49;"&gt;await&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;ArcGIS&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Desktop&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Framework&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Threading&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;Tasks&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #24292e;"&gt;QueuedTask&lt;/SPAN&gt;.&lt;SPAN class="" style="color: #6f42c1;"&gt;Run&lt;/SPAN&gt;(() &lt;SPAN class="" style="color: #d73a49;"&gt;=&amp;gt;&lt;/SPAN&gt; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #d73a49;"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="" style="color: #6f42c1;"&gt;Geodatabase&lt;/SPAN&gt; &lt;SPAN class="" style="color: #24292e;"&gt;geodatabase&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Geodatabase&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;DatabaseConnectionFile&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #d73a49;"&gt;new&lt;/SPAN&gt; &lt;SPAN class="" style="color: #6f42c1;"&gt;Uri&lt;/SPAN&gt;(&lt;SPAN class="" style="color: #032f62;"&gt;&lt;SPAN class="" style="color: #032f62;"&gt;"&lt;/SPAN&gt;path&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;to&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;sde&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;file&lt;SPAN class=""&gt;\\&lt;/SPAN&gt;sdefile.sde&lt;SPAN class="" style="color: #032f62;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;)))) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #6a737d;"&gt;&lt;SPAN class="" style="color: #6a737d;"&gt;//&lt;/SPAN&gt; Use the geodatabase.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp; }); }&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 15:11:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-use-existing-database-connections-in-a/m-p/848973#M4182</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-12-20T15:11:18Z</dc:date>
    </item>
  </channel>
</rss>

