EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

Add Entry API to EFCore3 Template

Open quooston opened this issue 6 years ago • 1 comments

I've added the following to the ...v3.ttinclude file to surface the Entry member of the DBContext:

EntityEntry<TEntity> Entry<TEntity>(TEntity entity) where TEntity : class;{{#newline}}
EntityEntry Entry(object entity);{{#newline}}

For me this was on line 16368 of the ttinclude file.

Could you add this to the template please?

quooston avatar Dec 17 '19 06:12 quooston

Hi @quooston Thanks. What version was this on? I'd like to match up the line numbers exactly. Better still, email me your updated v3.ttinclude file to [email protected]

sjh37 avatar Dec 22 '19 12:12 sjh37