feat:基于furion搭建

This commit is contained in:
橙子
2023-04-12 22:30:42 +08:00
parent ccd39474c7
commit 5efdffcda8
631 changed files with 468 additions and 27264 deletions

View File

@@ -0,0 +1,12 @@
//using Furion.DatabaseAccessor;
//using Microsoft.EntityFrameworkCore;
//namespace Yi.Furion.Rbac.EntityFramework.Core;
//[AppDbContext("Yi.Furion.Rbac", DbProvider.Sqlite)]
//public class DefaultDbContext : AppDbContext<DefaultDbContext>
//{
// public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options)
// {
// }
//}

View File

@@ -0,0 +1,16 @@
using Furion;
using Microsoft.Extensions.DependencyInjection;
namespace Yi.Furion.Rbac.EntityFramework.Core;
public class Startup : AppStartup
{
public void ConfigureServices(IServiceCollection services)
{
//services.AddDatabaseAccessor(options =>
//{
// options.AddDbPool<DefaultDbContext>();
//}, "Yi.Furion.Rbac.Database.Migrations");
System.Console.WriteLine();
}
}

View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Yi.Furion.Rbac.Core\Yi.Furion.Rbac.Core.csproj" />
</ItemGroup>
</Project>