Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

New Post: set db parameters of db context at runtime

$
0
0
@lucamorelli To add to what Pawel said, you don't need to modify the .tt file in order to add a second constructor. You can instead just use the partial class feature to define the second constructor in normal code outside of the generated code files.

Thanks,
Arthur

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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