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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ If you need a specific feature for a commercial project, I am glad to offer a pa
13
13
14
14
## Project Status
15
15
16
-
This project was started when there was .NET Full Framework and EF 6. EF 6 does not offer code first for SQLite and this library fills this gab.
16
+
This project was started when there was .NET Full Framework and EF 6. EF 6 does not offer code first for SQLite and this library fills this gap.
17
17
Nowadays there is .NET Core (or now just called .NET) and EF Core. EF Core supports code first and migrations for SQLite.
18
18
If you use .NET Core 3 or above together with EF Core, there is no need for this library.
19
19
If you use EF 6 (either with .NET Full Framework or with .NET Core 3 or above), this library is an option for you to get code first for SQLite.
@@ -30,10 +30,10 @@ The following features are supported:
30
30
- PrimaryKey constraint (`Key` annotation, key composites are supported)
31
31
- ForeignKey constraint (1-n relationships, support for 'Cascade on delete')
32
32
- Not Null constraint
33
-
- Auto increment (An int PrimaryKey will automatically be incremented and you can explicit set the "AUTOINCREMENT" constraint to a PrimaryKey using the Autoincrement-Attribute)
33
+
- Auto increment (An int PrimaryKey will automatically be incremented and you can explicitly set the "AUTOINCREMENT" constraint to a PrimaryKey using the Autoincrement-Attribute)
34
34
- Index (Decorate columns with the `Index` attribute. Indices are automatically created for foreign keys by default. To prevent this you can remove the convention `ForeignKeyIndexConvention`)
35
35
- Unique constraint (Decorate columns with the `UniqueAttribute`, which is part of this library)
36
-
- Collate constraint (Decorate columns with the `CollateAttribute`, which is part of this library. Use `CollationFunction.Custom` to specify a own collation function.)
36
+
- Collate constraint (Decorate columns with the `CollateAttribute`, which is part of this library. Use `CollationFunction.Custom` to specify your own collation function.)
37
37
- Default collation (pass an instance of Collation as constructor parameter for an initializer to specify a default collation).
38
38
- SQL default value (Decorate columns with the `SqlDefaultValueAttribute`, which is part of this library)
39
39
@@ -79,7 +79,7 @@ public class MyDbContext : DbContext
79
79
}
80
80
```
81
81
82
-
Notice that the `SqliteDropCreateDatabaseWhenModelChanges<>` initializer will create a additional table in your database.
82
+
Notice that the `SqliteDropCreateDatabaseWhenModelChanges<>` initializer will create an additional table in your database.
83
83
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
84
84
`IHistory` interface and pass the type of your entity as parameter to the constructor of the initializer.
85
85
@@ -176,7 +176,7 @@ You will find an extensive usage of the composite pattern.
176
176
177
177
## Hints
178
178
179
-
If you try to reinstall the NuGet-Packages (e.g. if you want to downgrade to .NET 4.0), the app.config will be overwritten and you may getting an exception when you try to run the console project.
179
+
If you try to reinstall the NuGet-Packages (e.g. if you want to downgrade to .NET 4.0), the app.config will be overwritten and you may get an exception when you try to run the console project.
180
180
In this case please check the following issue: <https://github.com/msallin/SQLiteCodeFirst/issues/13.>
0 commit comments