Return Database Name Dynamically
<p>I am using Entity Framework with Asp.net
i need to return database name dynamically from my model 
i using the following code but it return empty string </p>

<pre><code> ResturantEntities db = new ResturantEntities();
        string databaseName = db.Connection.Database;
</code></pre>

<p>any help thanks  </p>
