dotnet / dotnet/EntityFramework.Docs

Parameter --project is wrong and needs explanation.

Open
#3,067 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

In the docs the parameter `--project` is mentioned withour further explanaition.

The parameter is wrong. It has a single dash. `-Project`. I found the answer on StackOverflow when i run into a problem with it.

https://stackoverflow.com/questions/48282223/scaffold-dbcontext-to-different-output-folder

An example would be nice because i wondered how to use the parameter. Path or name.

Something like.

`Scaffold-DbContext "Server=localhost;Database=`database;User Id=sa;Password=password" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Entities -Force -Project Projectname

I gues that might help others.

Bye

---
#### Dokumentdetails

⚠ *Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.*

* ID: 4dde2676-6cc2-daeb-c3e8-e2c4f4c6517c
* Version Independent ID: c5341d6b-fff6-d42b-2ccc-6a28c39f19a0
* Content: [Referenz zu EF Core Tools (Paket-Manager-Konsole)-EF Core](https://docs.microsoft.com/de-de/ef/core/cli/powershell)
* Content Source: [entity-framework/core/cli/powershell.md](https://github.com/dotnet/EntityFramework.Docs.de-de/blob/live/entity-framework/core/cli/powershell.md)
* Product: **entity-framework**
* Technology: **entity-framework-core**
* GitHub Login: @bricelam
* Microsoft Alias: **avickers**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.