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
nuke :add-package Duotify.EFCore.EFRepositoryGenerator --version 1.0.2

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

  1. Usage information

    efr
    

    efr is stands for Entity Framework Repository Pattern generator.

  2. List all the DbContext class in the project

    efr list
    
  3. 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 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.

Version Downloads Last updated
1.0.2 453 4/15/2022
1.0.1 405 4/15/2022
1.0.0 435 4/15/2022