Skip to content

Commit 377c8ea

Browse files
author
Marc Sallin
committed
Update README.md
1 parent 6f5833b commit 377c8ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The structure of the statements is influenced by the [SQLite Language Specificat
1919
You will find an extensive usage of the composite pattern.
2020

2121
## How to use
22-
If you want to let the Entity Framework create the database, if it does not exist, just set `SqliteDropCreateDatabaseAlways<>` or `SqliteCreateDatabaseIfNotExists` as your `IDbInitializer`.
22+
If you want to let the Entity Framework create the database, if it does not exist, just set `SqliteDropCreateDatabaseAlways<>` or `SqliteCreateDatabaseIfNotExists<>` as your `IDbInitializer<>`.
2323
```csharp
2424
public class MyDbContext : DbContext
2525
{
@@ -36,7 +36,7 @@ public class MyDbContext : DbContext
3636
```
3737

3838
In a more advanced scenario you may want to populate some core- or test-data after the database was created.
39-
To do this, inherit from `SqliteDropCreateDatabaseAlways<>` or `SqliteCreateDatabaseIfNotExists` and override the `Seed(MyDbContext context)` function.
39+
To do this, inherit from `SqliteDropCreateDatabaseAlways<>` or `SqliteCreateDatabaseIfNotExists<>` and override the `Seed(MyDbContext context)` function.
4040
This function will be called, in a own transaction, right after the database was created. This function is only executed if a new database was successfully created.
4141
```csharp
4242
public class MyDbContextContextInitializer : SqliteDropCreateDatabaseAlways<MyDbContext>

0 commit comments

Comments
 (0)