Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Edited Feature: The generated context class still implements IDbContextName if unit of work is disabled [152]

$
0
0
If Elements.UnitOfWork is omitted from ElementsToGenerate, the generated context class still implements the interface, despite the interface not actually being generated.

I temporarily fixed this around line 190 in EF.Reverse.POCO.ttinclude by adding an if (ElementsToGenerate.HasFlag(Elements.UnitOfWork)) wrapper around the interface inclusion.

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>