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

EF6 - Stored Procedures with TableValueParams - I[DbContext] not including System.Data.DataTable #805

Closed GregBartlett closed 1 year ago

GregBartlett commented 1 year ago

I just upgraded from 2.x to 3.8.3 on our project, and it appears that when it's generating the I[DbContextName] interface it's missing the System.Data (so that the params that are generated in the code that have DataTable types will be referenced correctly)

I'm generating code for EF6 and have numerous tables with TVP's. Did I miss a configuration change somewhere?

Thanks and love the product!

sjh37 commented 1 year ago

Hi @GregBartlett

This should be fixed now. Grab the latest EF.Reverse.POCO.v3.ttinclude and update your project. Let me know if you have issues and I'll re-open this case.

GregBartlett commented 1 year ago

Thanks for the quick fix! Confirmed I'm no longer having the issue.

sjh37 commented 1 year ago

Released v3.8.4