From b271cdf91d560a44b88d207bced34a68f2caead0 Mon Sep 17 00:00:00 2001 From: Brice Lambson Date: Wed, 16 Sep 2015 14:03:45 -0700 Subject: [PATCH] Update EF commands --- .../Properties/Strings.Designer.cs | 8 ++++---- src/Microsoft.AspNet.Diagnostics.Entity/Strings.resx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.AspNet.Diagnostics.Entity/Properties/Strings.Designer.cs b/src/Microsoft.AspNet.Diagnostics.Entity/Properties/Strings.Designer.cs index e81f55e58c..0d2a924fd4 100644 --- a/src/Microsoft.AspNet.Diagnostics.Entity/Properties/Strings.Designer.cs +++ b/src/Microsoft.AspNet.Diagnostics.Entity/Properties/Strings.Designer.cs @@ -75,7 +75,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity } /// - /// > dnx . ef migration add [migration name] + /// > dnx ef migrations add [migration name] /// internal static string DatabaseErrorPage_AddMigrationCommand { @@ -83,7 +83,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity } /// - /// > dnx . ef migration add [migration name] + /// > dnx ef migrations add [migration name] /// internal static string FormatDatabaseErrorPage_AddMigrationCommand() { @@ -203,7 +203,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity } /// - /// > dnx . ef migration apply + /// > dnx ef database update /// internal static string DatabaseErrorPage_ApplyMigrationsCommand { @@ -211,7 +211,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity } /// - /// > dnx . ef migration apply + /// > dnx ef database update /// internal static string FormatDatabaseErrorPage_ApplyMigrationsCommand() { diff --git a/src/Microsoft.AspNet.Diagnostics.Entity/Strings.resx b/src/Microsoft.AspNet.Diagnostics.Entity/Strings.resx index a7e9986403..1965877e3e 100644 --- a/src/Microsoft.AspNet.Diagnostics.Entity/Strings.resx +++ b/src/Microsoft.AspNet.Diagnostics.Entity/Strings.resx @@ -130,7 +130,7 @@ An exception occurred while calculating the database error page content. Skipping display of the database error page. - > dnx . ef migration add [migration name] + > dnx ef migrations add [migration name] You can also apply migrations from the command line: @@ -154,7 +154,7 @@ Applying existing migrations for {0} may resolve this issue - > dnx . ef migration apply + > dnx ef database update The value provided for argument '{argumentName}' must be a valid value of enum type '{enumType}'.