When you debug the application, the console window will close when
the application has finished executing, which may prevent you from
inspecting the output. You can put a breakpoint at the end of the method
for debugging. Alternatively, you can run without debugging (CTRL +
F5), in which case Visual Studio will ensure that the console window
remains open after the program has finished executing.
Reference - Programming Eneity Framework: DbContext Page 17
No comments:
Post a Comment