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

Created Unassigned: Warning when building a solution [159]

$
0
0
When I am re-building a solution I see the following warning:

warning CS0108: 'ISiriusSqlContext.SaveChanges()' hides inherited member 'IContext.SaveChanges()'. Use the new keyword if hiding was intended.

The line of code is in the auto-generated (I assume) file:

int SaveChanges();

That file is based on the IContext interface that does have that same line of code.

I am not sure where this line of code is coming from into the specific interface class and how that warning can be fixed? I checked .tt file and I don't see any SaveChanges in there, so it's coming from other place.

Thanks.

Viewing all articles
Browse latest Browse all 1642

Trending Articles



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