dotnet add package EntityFrameworkCore.FSharp --version 6.0.7
NuGet\Install-Package EntityFrameworkCore.FSharp -Version 6.0.7
<PackageReference Include="EntityFrameworkCore.FSharp" Version="6.0.7" />
paket add EntityFrameworkCore.FSharp --version 6.0.7
#r "nuget: EntityFrameworkCore.FSharp, 6.0.7"
// Install EntityFrameworkCore.FSharp as a Cake Addin #addin nuget:?package=EntityFrameworkCore.FSharp&version=6.0.7 // Install EntityFrameworkCore.FSharp as a Cake Tool #tool nuget:?package=EntityFrameworkCore.FSharp&version=6.0.7
Add F# design time support to EF Core.
For a basic introduction to running code-first migrations, please see the getting started guide.
Currently created migrations must be manually added to your solution in the correct order. Although migrations are created with sequential file names so a glob can also be used
<Compile Include="Migrations/*.fs" />
> build.cmd <optional buildtarget> // on windows $ ./build.sh <optional buildtarget>// on unix
After building the solution, it will create a NuGet package in the
This can then be referenced as usual.
Make sure the following requirements are installed on your system:
- dotnet SDK 5.0 or higher
CONFIGURATIONwill set the configuration of the dotnet commands. If not set, it will default to Release.
CONFIGURATION=Debug ./build.shwill result in
-cadditions to commands such as in
dotnet build -c Debug
GITHUB_TOKENwill be used to upload release notes and Nuget packages to GitHub.
- Be sure to set this before releasing
DISABLE_COVERAGEWill disable running code coverage metrics. AltCover can have severe performance degradation so it's worth disabling when looking to do a quicker feedback loop.
Clean- Cleans artifact and temp directories.
DotnetRestore- Runs dotnet restore on the solution file.
DotnetBuild- Runs dotnet build on the solution file.
DotnetTest- Runs dotnet test on the solution file.
GenerateCoverageReport- Code coverage is run during
DotnetTestand this generates a report via ReportGenerator.
WatchTests- Runs dotnet watch with the test projects. Useful for rapid feedback loops.
GenerateAssemblyInfo- Generates AssemblyInfo for libraries.
DotnetPack- Runs dotnet pack. This includes running Source Link.
SourceLinkTest- Runs a Source Link test tool to verify Source Links were properly generated.
PublishToNuGet- Publishes the NuGet packages generated in
DotnetPackto NuGet via paket push.
GitRelease- Creates a commit message with the Release Notes and a git tag via the version in the
GitHubRelease- Publishes a GitHub Release with the Release Notes and any NuGet packages.
FormatCode- Runs Fantomas on the solution file.
BuildDocs- Generates Documentation from
docsSrcand the XML Documentation Comments from your libraries in
WatchDocs- Generates documentation and starts a webserver locally. It will rebuild and hot reload if it detects any changes made to
docsSrcfiles, libraries in
src, or the
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on EntityFrameworkCore.FSharp:
Bring power of Linq To DB to Entity Framework Core projects
## [6.0.7] - 2022-06-26
- Change return type of helper methods in `DbContextHelpers` from `obj` to `'a`