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
+7-14Lines changed: 7 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,29 +30,22 @@ The following features are supported:
30
30
- SQL default value (Decorate columns with the `SqlDefaultValueAttribute`, which is part of this library)
31
31
32
32
## Install
33
+
33
34
Either get the assembly from the latest [GitHub Release Page](https://github.com/msallin/SQLiteCodeFirst/releases) or install the NuGet-Package [SQLite.CodeFirst](https://www.nuget.org/packages/SQLite.CodeFirst/) (`PM> Install-Package SQLite.CodeFirst`).
34
35
35
-
The project is built to target .NET framework versions 4.0 and 4.5.
36
+
The project is built to target .NET framework versions 4.0 and 4.5 and .NET Standard 2.1.
36
37
You can use the SQLite CodeFirst in projects that target the following frameworks:
37
38
38
39
- .NET 4.0 (uses net40)
39
-
- .NET 4.5 (uses net45)
40
-
- .NET 4.5.1 (uses net45)
41
-
- .NET 4.5.2 (uses net45)
42
-
- .NET 4.6 (uses net45)
43
-
- .NET 4.6.1 (uses net45)
44
-
- .NET 4.6.2 (uses net45)
45
-
- .NET 4.7 (uses net45)
46
-
- .NET 4.7.1 (uses net45)
47
-
- .NET 4.7.2 (uses net45)
48
-
- .NET 4.8 (uses net45)
40
+
- .NET 4.5-4.8 (uses net45)
41
+
- .NET Core 3.0-3.1 (uses netstandard2.1)
49
42
50
43
## How to use
51
44
52
45
The functionality is exposed by using implementations of the `IDbInitializer<>` interface.
53
46
Depending on your need, you can choose from the following initializers:
54
47
55
-
- SqliteCreateDatabaseIfNotExists
48
+
- SqliteCreateDatabaseIfNotExists
56
49
- SqliteDropCreateDatabaseAlways
57
50
- SqliteDropCreateDatabaseWhenModelChanges
58
51
@@ -68,7 +61,7 @@ public class MyDbContext : DbContext
0 commit comments