Debug code-first Entity Framework migration codes
Place this piece of code right above the migration you want to debug:
if (!System.Diagnostics.Debugger.IsAttached)
System.Diagnostics.Debugger.Launch();
More details / Ref : https://stackoverflow.com/a/52700520/193061
No comments:
Post a Comment