# C1.AdoNet.D365S.C1D365SConnection.Database

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_D365S_C1D365SConnection_Database_" data-uid="C1.AdoNet.D365S.C1D365SConnection.Database*">Database Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_D365S_C1D365SConnection_Database_" data-uid="C1.AdoNet.D365S.C1D365SConnection.Database*"></a>
<h4 id="C1_AdoNet_D365S_C1D365SConnection_Database" data-uid="C1.AdoNet.D365S.C1D365SConnection.Database">Database</h4>
<div class="markdown level1 summary"><p>Gets the name of the current database after a connection is opened,
or the database name specified in the connection string before the connection is opened.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override string Database { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides ReadOnly Property Database As String</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.DataConnector.AdoNet.DbConnectionWrap-3.Database.html#C1_DataConnector_AdoNet_DbConnectionWrap_3_Database">DbConnectionWrap&lt;C1ODataConnection, C1ODataCommand, C1DbParameter&gt;.Database</a></div>
</div>
