c# - How can I connect to database my application is using & explore into it? -


I have created a simple application as explained on MSDN , it is simple < Code> code first workflow example, it works fine, it stores data and also displays the stored data but I do not know how it can use the database?

Note: I am using EF 6 with VS 2013 final

App.config :

  & Lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt; -! For more information about the structure of the unit, see http://go.microsoft.com/fwlink/?LinkID=237468 - & gt; & Lt; Section name = "entityFramework" type = "System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, version = 6.0.0.0, culture = neutral, publicKeyToken = b77a5c561934e089" requirePermission = "false" /> & Lt; / ConfigSections & gt; & Lt; Startup & gt; & Lt; Supported serial version = "v4.0" sku = ".NETFramework, version = v4.5" /> & Lt; / Startup & gt; & Lt; EntityFramework & gt; & Lt; DefaultConnectionFactory type = "System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework" & gt; & Lt; Parameters & gt; & Lt; Parameter value = "mssqllocaldb" /> & Lt; / Standards & gt; & Lt; / DefaultConnectionFactory & gt; & Lt; Providers & gt; & Lt; Provider invariantName = "System.Data.SqlClient" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> & Lt; / Providers & gt; & Lt; / EntityFramework & gt; & Lt; / Configuration & gt; See  VS 2013 final  
in

-> SQL Server Object Explorer
and there you will find your database


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -