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

Add Microsoft.EntityFrameworkCore.Templates #28678

Merged
1 commit merged into from
Aug 11, 2022
Merged

Add Microsoft.EntityFrameworkCore.Templates #28678

1 commit merged into from
Aug 11, 2022

Commits on Aug 11, 2022

  1. Add Microsoft.EntityFrameworkCore.Templates

    Adds a new package that can be installed via `dotnet new`:
    
        dotnet new install Microsoft.EntityFrameworkCore.Templates::7.0.0-*
    
    For now, it just includes a single item template that will add the default T4 templates used by `dotnet ef dbcontext scaffold`.
    
        dotnet new ef-templates
    
    You can then tweak the templates and they'll automatically be used when scaffolding.
    
        dotnet ef dbcontext scaffold Filename=northwind.db Microsoft.EntityFrameworkCore.Sqlite
    
    Resolves dotnet#4038
    bricelam committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    e9cdfb7 View commit details
    Browse the repository at this point in the history