Skip to content

Commit 4f30a01

Browse files
authored
Update README.md
Fix some grammer mistakes
1 parent c82ff24 commit 4f30a01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ public class MyDbContext : DbContext
7878
```
7979

8080
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.
8383

8484
In a more advanced scenario, you may want to populate some core- or test-data after the database was created.
8585
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.
8787

8888
```csharp
8989
public class MyDbContextInitializer : SqliteDropCreateDatabaseAlways<MyDbContext>

0 commit comments

Comments
 (0)