Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6909955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:45:15+00:00 2026-05-27T08:45:15+00:00

Basically I am using the Entity Framework Code First technique. The code I wrote

  • 0

Basically I am using the Entity Framework Code First technique. The code I wrote works. However, I can’t find the newly created database in SQL Server Management Studio. Where is it? What IDE should I be using to see the newly created database and tables.
I ran the following code with no problem:
IsoLocationContext db = new IsoLocationContext();

   Address address = new Address();

   address.TrackingNumber = "123";

   db.Addresses.Add(address);
   db.SaveChanges();

However, I can’t seem to find the database and tables. I did tried to refresh the list of databases.
I then added the following the line just to make sure the data was actually going to the database.

   IList<Address> addresses = db.Addresses.ToList();

The above processing worked as well.
I also stopped and started the server and rebooted the whole machine. Just to make sure the data wasn’t being stored in memory. Everything worked as expected.
I also ran the Profiler against the server while I was running the app and I saw no entries in the Trace.

Please tell me, what I am missing. This is driving me crazy.

Also I am using SQL Server 2008 R2 Developer / Client version.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:45:16+00:00Added an answer on May 27, 2026 at 8:45 am

    Try looking at your connection string like this:

     ((IObjectContextAdapter)db).ObjectContext.Connection.ConnectionString
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the Entity Framework for the first time and want to know
I presume this is possible? Basically i am receiving using LINQ (LINQ2Entities Entity Framework)
Given an app called ExampleApp, I want to find ~/Library/Logs/ExampleApp basically without using hard
Basically I am using some open source code called OrderedDictionary that is derived from
So basically I'm using MyLocationOverlay to draw the users location on the map. However,
I'm trying to make sense of a situation I have using entity framework on
I am currently working on my own version of membership using Entity Framework 4.0
I'm having a problem with the Entity Framework (EF4.1 - CodeFirst) It's basically duplicating
I'm using ASP.NET Web API with Entity Framework. I changed my default serializer to
i have a question about the reasonableness of using entity framework only with stored

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.