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 7650693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:19:08+00:00 2026-05-31T11:19:08+00:00

I deleted a table in management studio, using code first entity framework shouldn’t it

  • 0

I deleted a table in management studio, using code first entity framework shouldn’t it automatically create the table again. How can I get this table to come back? Is there something in the package manager console I can say? Thanks for any help.

Can I delete the whole database?

  • 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-31T11:19:09+00:00Added an answer on May 31, 2026 at 11:19 am

    As long as you don’t care about the data, deleting it is probably the easiest option. It should be automatically recreated.

    EF won’t recreate tables that have been deleted, however it may show an error due to the database not matching the dbcontext. Going forward, you could enable the drop and recreate initializer for it to always recreate the db if it doesn’t match, or enable migration support and script all changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In SQL Management Studio, I deleted a table, and created it again using a
I deleted a table in SQL Server Management Studio. And then I created a
How can we re-use the deleted id from any MySQL-DB table? If I want
I'm trying to delete a couple of rows USING SQL Server management studio, for
Im using Microsoft SQL Server Management Studio Express to connect to our SQL Server
So, I'm using SQL Server Management Studio Express,it has been working not bad so
The dynamic management views of SQL Server 2005 can give usage information about table
In the context menu of a table in SQL Server Management Studio there are
Using the SQL Server Import and Export wizard in Management Studio 2005 I've encountered
I am using SQL Server Management studio and keep getting the same error, and

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.