LittleArcticFox.EntityFrameworkCore 1.0.1-dev

一个简单的框架,按道理,不会完善的吧。

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.
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")));
    //******
}
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")));
    //******
}

Release Notes

临时起意。
不想负责。
不想维护。
随便玩的。
也许有用。
没有文档。
嗯。

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1-dev 295 12/19/2017
1.0.0-dev 213 12/14/2017