You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,12 @@ public class MyDbContext : DbContext
78
78
```
79
79
80
80
Notice that the `SqliteDropCreateDatabaseWhenModelChanges<>` initializer will create a additional table in your database.
81
-
This table is used to store some information to detect model changes. If you want to use a own entity/table you can implement the
82
-
`IHistory` interface and pass the type of your entity as parameter in the to the constructor from the initializer.
81
+
This table is used to store some information to detect model changes. If you want to use an own entity/table you have to implement the
82
+
`IHistory` interface and pass the type of your entity as parameter to the constructor of the initializer.
83
83
84
84
In a more advanced scenario, you may want to populate some core- or test-data after the database was created.
85
85
To do this, inherit from `SqliteDropCreateDatabaseAlways<>`, `SqliteCreateDatabaseIfNotExists<>` or `SqliteDropCreateDatabaseWhenModelChanges<>` and override the `Seed(MyDbContext context)` function.
86
-
This function will be called in a transaction once the database was created. This function is only executed if a new database was successfully created.
86
+
This function will be called in a transaction, once the database was created. This function is only executed if a new database was successfully created.
0 commit comments