Skip to content

Commit

Permalink
Updates tutorials/movies/generating_code_for_movie_table.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
volkanceylan committed Sep 12, 2017
1 parent 6ed2140 commit e2b90ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tutorials/movies/generating_code_for_movie_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ Type `dotnet sergen g` to open Sergen code generation UI (console).

![Dotnet Sergen G](img/dotnetsergeng.png)

Sergen will list connections in appsettings.json file.

You can use TAB completion, e.g. type *D* and press *TAB* to complete *Default*.

After pressing Enter you'll get a list of tables in that database:

![Dotnet Sergen G](img/dotnetsergencon.png)

Clear `dbo.` using backspace, and type `mov.Movie` or type `m` and use TAB completion to select `mov.Movie`.



### Generating Code for First Page

After setting parameters as shown in the image above (you only have to set Module Name, others were prefilled), click *Generate Code for Entity* button.
Expand Down
Binary file added tutorials/movies/img/dotnetsergencon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e2b90ca

Please sign in to comment.