Happy Coding

Sunday, July 20, 2014

MVC Migration

Enable-Migrations -ProjectName DB -ContextTypeName LuyiartDbContext
PM> Add-Migration  -ProjectName DB
Update-Database  -ProjectName DB
Posted by Z at 11:10 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Important

Saturday, July 12, 2014

Delete local db v11.0


PM> sqllocaldb.exe stop v11.0
LocalDB instance "v11.0" stopped.

PM> sqllocaldb.exe delete v11.0
LocalDB instance "v11.0" deleted.

PM> sqllocaldb.exe start v11.0
LocalDB instance "v11.0" started.

on package manage console window
Posted by Z at 8:06 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Blog Archive

  • ►  2016 (1)
    • ►  September (1)
  • ►  2015 (21)
    • ►  November (2)
    • ►  October (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (7)
    • ►  January (7)
  • ▼  2014 (26)
    • ►  December (4)
    • ►  November (1)
    • ►  September (3)
    • ►  August (2)
    • ▼  July (2)
      • MVC Migration
      • Delete local db v11.0
    • ►  April (2)
    • ►  March (3)
    • ►  February (3)
    • ►  January (6)
  • ►  2013 (141)
    • ►  December (6)
    • ►  November (13)
    • ►  October (3)
    • ►  September (9)
    • ►  August (3)
    • ►  July (16)
    • ►  June (11)
    • ►  May (6)
    • ►  April (48)
    • ►  March (21)
    • ►  February (5)
  • ►  2012 (17)
    • ►  December (5)
    • ►  November (4)
    • ►  October (8)

About Me

Z
View my complete profile
Simple theme. Powered by Blogger.