escape angle bracket
parent
b11243c6df
commit
d0fe3f358e
|
@ -88,7 +88,7 @@ If you see an error message "*cannot access the file ... ContosoUniversity.dll b
|
|||
|
||||
## Examine the Up and Down methods
|
||||
|
||||
When you executed the `migrations add` command, EF generated the code that will create the database from scratch. This code is in the *Migrations* folder, in the file named *<timestamp>_InitialCreate.cs*. The `Up` method of the `InitialCreate` class creates the database tables that correspond to the data model entity sets, and the `Down` method deletes them, as shown in the following example.
|
||||
When you executed the `migrations add` command, EF generated the code that will create the database from scratch. This code is in the *Migrations* folder, in the file named *\<timestamp>_InitialCreate.cs*. The `Up` method of the `InitialCreate` class creates the database tables that correspond to the data model entity sets, and the `Down` method deletes them, as shown in the following example.
|
||||
|
||||
[!code-csharp[Main](intro/samples/cu/Migrations/20170215220724_InitialCreate.cs?range=92-120)]
|
||||
|
||||
|
|
Loading…
Reference in New Issue