Duotify.EFCore.EFRepositoryGenerator
1.0.2
dotnet tool install --global Duotify.EFCore.EFRepositoryGenerator --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Duotify.EFCore.EFRepositoryGenerator --version 1.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Duotify.EFCore.EFRepositoryGenerator&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Duotify.EFCore.EFRepositoryGenerator --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
This .NET Global tool is a supplemental tool for generating class files that implements Repository pattern and Unit of Work pattern for a Entity Framework Core DbContext.
Installation
dotnet tool install -g Duotify.EFCore.EFRepositoryGenerator
Usage
Usage information
efr
efr
is stands for Entity Framework Repository Pattern generator.List all the DbContext class in the project
efr list
Generating all the repositories for the entity model.
efr generate -c ContosoUniversityContext -o Models
This command will build existing project first. Only buildable project can generate.
Show generating files
efr generate -c ContosoUniversityContext -o Models -v
Overwrite existing files
efr generate -c ContosoUniversityContext -o Models -v -f
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.