EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Document ef6.exe and remove doc for migrate.exe

Open CeciAc opened this issue 6 years ago • 6 comments

@Almeonamy commented on Tue Sep 17 2019

The page has mistake. Meigrate.exe can generate sql script for migration. It has option "/scriptFile".


Сведения о документе

Не вносите правки в этот раздел. Это необходимо для связывания страницы сайта docs.microsoft.com с вопросом на GitHub.


@srvbpigh commented on Tue Sep 17 2019

Hello, @Almeonamy

Thank you for your feedback.

We are actively reviewing your comments and will get back to you soon.

Kind regards, Microsoft DOCS International Team

CeciAc avatar Sep 17 '19 16:09 CeciAc

Hi team, I moved this here because the user made a sugggestion on the original documentation best

CeciAc avatar Sep 17 '19 16:09 CeciAc

The page needs to go away.

smitpatel avatar Sep 20 '19 18:09 smitpatel

Geez guys. Trying to learn EF6 migrations is confusing enough without me wasting time trying to work with the documentation and it doesn't work because the docs are SIX YEARS out of date. Shows what kind of priority MS places to documentation.

daddyqbob50 avatar Oct 21 '19 14:10 daddyqbob50

migrate.exe ef6.exe database update
<assembly> --assembly
<configurationType> --migrations-config
<contextAssembly> (no equivalent. Ensure it's in the same directory as --assembly)
/targetMigration --target
/startUpDirectory --project-dir
/scriptFile --script
/sourceMigration --source
/startUpConfigurationFile --config
/startUpDataDirectory --data-dir
/connectionStringName --connection-string-name
/connectionString --connection-string
/connectionProviderName --connection-provider
/force --force
/verbose --verbose
/? --help

bricelam avatar Nov 21 '19 18:11 bricelam

Hi guys! How can I execute ef6.exe as a different user? I mean, I need to specify the user and password that will implement the update in the remote database. Any idea would be very welcome! Thank you!

ricardosobrado avatar Aug 18 '21 13:08 ricardosobrado

For anyone not able to find ef6.exe look in the NuGet package cache, for example %userprofile%\.nuget\packages\entityframework\6.4.4\tools\net45\win-x86

AndriySvyryd avatar Apr 04 '22 22:04 AndriySvyryd