Skip to content

An EF Core extension, generates table comments based on the annotations of entity classes in code-first mode.

Notifications You must be signed in to change notification settings

Camefor/Rhys.EFCore.Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rhys.EFCore.Extensions

This is an extension tool for EF Core that generates table comments based on the annotations of entity classes in code-first mode.

Usage:

in MyContext.cs 

using  Rhys.EFCore.Extensions;

  protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        modelBuilder.Entity<Your Entity>()
            //todo other
            .TryConfigureEntityComment()
            ;
    }

About

An EF Core extension, generates table comments based on the annotations of entity classes in code-first mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages