sjh37 / EntityFramework-Reverse-POCO-Code-First-Generator

EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from
https://www.reversepoco.co.uk/
Other
700 stars 230 forks source link

Filter Sequences created #780

Closed MarkLFT closed 1 year ago

MarkLFT commented 1 year ago

My database contains a number of sequences, several that are not required by EF Core, is their a way to filter which sequences are defined in the OnModelCreating method?

sjh37 commented 1 year ago

Hi Mark, Nothing as yet. However, knowing which ones to keep can be automatically detected by looking at the (poorly and soon to be renamed) column.HasDefaultValueSql.

This is a quick win, and I may get to it this week.

sjh37 commented 1 year ago

Hi @MarkLFT This is now complete and will be in the next release. If you want it now, grab the EF.Reverse.POCO.v3.ttinclude file.

sjh37 commented 1 year ago

Released in v3.8.1