LittleArcticFox.EntityFrameworkCore
1.0.1-dev
.NET Core 2.0
This is a prerelease version of LittleArcticFox.EntityFrameworkCore.
Install-Package LittleArcticFox.EntityFrameworkCore -Version 1.0.1-dev
dotnet add package LittleArcticFox.EntityFrameworkCore --version 1.0.1-dev
<PackageReference Include="LittleArcticFox.EntityFrameworkCore" Version="1.0.1-dev" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LittleArcticFox.EntityFrameworkCore --version 1.0.1-dev
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LittleArcticFox.EntityFrameworkCore, 1.0.1-dev"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LittleArcticFox.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=LittleArcticFox.EntityFrameworkCore&version=1.0.1-dev&prerelease
// Install LittleArcticFox.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=LittleArcticFox.EntityFrameworkCore&version=1.0.1-dev&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseDefaultServiceProvider(options => options.ValidateScopes = false)//增加
.Build();
public void ConfigureServices(IServiceCollection services)
{
services.RegisterLittleArcticFox(option =>
option.AddEFCore<SimpleDbContext>(services)
);
services.AddMvc();
services.AddDbContext<SimpleDbContext>(options => options.UseSqlite(Configuration.GetConnectionString("Default")));
//******
}
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- LittleArcticFox.Core (>= 1.0.2-dev)
- Microsoft.EntityFrameworkCore.Relational (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
临时起意。
不想负责。
不想维护。
随便玩的。
也许有用。
没有文档。
嗯。