Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ef6.exe and remove doc for migrate.exe #1740

Open
CeciAc opened this issue Sep 17, 2019 · 6 comments
Open

Document ef6.exe and remove doc for migrate.exe #1740

CeciAc opened this issue Sep 17, 2019 · 6 comments

Comments

@CeciAc
Copy link

CeciAc commented Sep 17, 2019

@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
Copy link
Author

CeciAc commented Sep 17, 2019

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

@bricelam bricelam changed the title generate Sql migrate.exe can generate Sql Sep 17, 2019
@smitpatel
Copy link
Member

The page needs to go away.

@smitpatel smitpatel added this to the Backlog milestone Sep 20, 2019
@smitpatel smitpatel changed the title migrate.exe can generate Sql Document ef6.exe and remove doc for migrate.exe Sep 20, 2019
Copy link

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.

@bricelam
Copy link
Contributor

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

joelverhagen added a commit to NuGet/NuGetGallery that referenced this issue Nov 21, 2019
This addresses a breaking change introduced in 6.3.0 which eliminates migrate.exe and replaces it with ef6.exe.
Address #7699
Migration details available here: dotnet/EntityFramework.Docs#1740 (comment)
joelverhagen added a commit to NuGet/NuGetGallery that referenced this issue Nov 21, 2019
This addresses a breaking change introduced in 6.3.0 which eliminates migrate.exe and replaces it with ef6.exe.
Discover the version from the .csproj instead of hard-coding it.
Fix some "Nuget" cases and made them "NuGet".
Address #7699
Migration details available here: dotnet/EntityFramework.Docs#1740 (comment)
joelverhagen added a commit to NuGet/NuGetGallery that referenced this issue Nov 21, 2019
This addresses a breaking change introduced in 6.3.0 which eliminates migrate.exe and replaces it with ef6.exe.
Discover the version from the .csproj instead of hard-coding it.
Fix some "Nuget" cases and made them "NuGet".
Address #7699
Migration details available here: dotnet/EntityFramework.Docs#1740 (comment)
@ajcvickers ajcvickers self-assigned this Jan 22, 2020
@ricardosobrado
Copy link

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!

@AndriySvyryd
Copy link
Member

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

@ajcvickers ajcvickers removed their assignment Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants