diff --git a/BootstrapAdmin-Blazor.slnf b/BootstrapAdmin-Blazor.slnf
index 05f7ff60..3e5291a2 100644
--- a/BootstrapAdmin-Blazor.slnf
+++ b/BootstrapAdmin-Blazor.slnf
@@ -2,7 +2,8 @@
"solution": {
"path": "BootstrapAdmin.sln",
"projects": [
- "..\\BootstrapBlazor\\src\\BootstrapBlazor\\BootstrapBlazor.csproj",
+ "src\\blazor\\admin\\BootstrapAdmin.DataAccess.EFCore\\BootstrapAdmin.DataAccess.EFCore.csproj",
+ "src\\blazor\\admin\\BootstrapAdmin.DataAccess.Models\\BootstrapAdmin.DataAccess.Models.csproj",
"src\\blazor\\admin\\BootstrapAdmin.DataAccess\\BootstrapAdmin.DataAccess.csproj",
"src\\blazor\\admin\\BootstrapAdmin.Web\\BootstrapAdmin.Web.csproj",
"src\\mvc\\admin\\Bootstrap.Admin\\Bootstrap.Admin.csproj",
diff --git a/BootstrapAdmin.sln b/BootstrapAdmin.sln
index 8b5a16f2..68703490 100644
--- a/BootstrapAdmin.sln
+++ b/BootstrapAdmin.sln
@@ -147,6 +147,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapAdmin.Web", "src\b
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapAdmin.DataAccess", "src\blazor\admin\BootstrapAdmin.DataAccess\BootstrapAdmin.DataAccess.csproj", "{1C04A3C2-DF68-4716-BA69-259CEC6E2311}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BootstrapAdmin.DataAccess.EFCore", "src\blazor\admin\BootstrapAdmin.DataAccess.EFCore\BootstrapAdmin.DataAccess.EFCore.csproj", "{D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BootstrapAdmin.DataAccess.Models", "src\blazor\admin\BootstrapAdmin.DataAccess.Models\BootstrapAdmin.DataAccess.Models.csproj", "{7E3861AB-F797-4A9F-B7CE-0E35751FFCD9}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -197,6 +201,14 @@ Global
{1C04A3C2-DF68-4716-BA69-259CEC6E2311}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C04A3C2-DF68-4716-BA69-259CEC6E2311}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C04A3C2-DF68-4716-BA69-259CEC6E2311}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7E3861AB-F797-4A9F-B7CE-0E35751FFCD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7E3861AB-F797-4A9F-B7CE-0E35751FFCD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7E3861AB-F797-4A9F-B7CE-0E35751FFCD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7E3861AB-F797-4A9F-B7CE-0E35751FFCD9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -230,6 +242,8 @@ Global
{55A2459A-6BDE-4493-B2C0-5BE1673E99EE} = {DAE3826B-AAAB-468A-9A06-2F56EF5C0767}
{EF5EF5A4-616A-4BA7-9E1E-1407E8EC0395} = {45ADEF9B-C8BD-4224-9E12-F6716E85A22C}
{1C04A3C2-DF68-4716-BA69-259CEC6E2311} = {45ADEF9B-C8BD-4224-9E12-F6716E85A22C}
+ {D8ED2DF7-F7E1-4DE7-B097-D0BEE51D58E9} = {45ADEF9B-C8BD-4224-9E12-F6716E85A22C}
+ {7E3861AB-F797-4A9F-B7CE-0E35751FFCD9} = {45ADEF9B-C8BD-4224-9E12-F6716E85A22C}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {221EAE38-5F75-4391-9A48-E462A9F3B8FC}
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/BootstrapAdmin.DataAccess.EFCore.csproj b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/BootstrapAdmin.DataAccess.EFCore.csproj
new file mode 100644
index 00000000..132c02c5
--- /dev/null
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/BootstrapAdmin.DataAccess.EFCore.csproj
@@ -0,0 +1,9 @@
+
+
+
+ net6.0
+ enable
+ enable
+
+
+
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/Class1.cs b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/Class1.cs
new file mode 100644
index 00000000..3efb7c69
--- /dev/null
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.EFCore/Class1.cs
@@ -0,0 +1,7 @@
+namespace BootstrapAdmin.DataAccess.EFCore
+{
+ public class Class1
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.csproj b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.csproj
new file mode 100644
index 00000000..132c02c5
--- /dev/null
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.csproj
@@ -0,0 +1,9 @@
+
+
+
+ net6.0
+ enable
+ enable
+
+
+
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.xml b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.xml
new file mode 100644
index 00000000..750aad54
--- /dev/null
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/BootstrapAdmin.DataAccess.Models.xml
@@ -0,0 +1,113 @@
+
+
+
+ BootstrapAdmin.DataAccess.Models
+
+
+
+
+ 字典配置项
+
+
+
+
+ 获得/设置 字典主键 数据库自增列
+
+
+
+
+ 获得/设置 字典分类
+
+
+
+
+ 获得/设置 字典名称
+
+
+
+
+ 获得/设置 字典字典值
+
+
+
+
+ 获得/设置 字典定义值 0 表示系统使用,1 表示用户自定义 默认为 1
+
+
+
+
+ Bootstrap Admin 后台管理菜单相关操作实体类
+
+
+
+
+ 获得/设置 菜单主键ID
+
+
+
+
+ 获得/设置 父级菜单ID 默认为 0
+
+
+
+
+ 获得/设置 父级菜单名称
+
+
+
+
+ 获得/设置 菜单名称
+
+
+
+
+ 获得/设置 菜单序号
+
+
+
+
+ 获得/设置 菜单图标
+
+
+
+
+ 获得/设置 菜单URL地址
+
+
+
+
+ 获得/设置 菜单分类, 0 表示系统菜单 1 表示用户自定义菜单
+
+
+
+
+ 获得 菜单分类名称,取字典表中的Name category="菜单"
+
+
+
+
+ 获得/设置 是否当前被选中 active为选中
+
+
+
+
+ 获得/设置 链接目标
+
+
+
+
+ 获得/设置 是否为资源文件, 0 表示菜单 1 表示资源 2 表示按钮
+
+
+
+
+ 获得/设置 所属应用程序,此属性由BA后台字典表分配
+
+
+
+
+ 获得/设置 当前菜单项的所有子菜单集合
+
+
+
+
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess/Models/Dict.cs b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/Dicts.cs
similarity index 93%
rename from src/blazor/admin/BootstrapAdmin.DataAccess/Models/Dict.cs
rename to src/blazor/admin/BootstrapAdmin.DataAccess.Models/Dicts.cs
index 515ecf14..3d36a3f2 100644
--- a/src/blazor/admin/BootstrapAdmin.DataAccess/Models/Dict.cs
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/Dicts.cs
@@ -1,14 +1,11 @@
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
-using PetaPoco;
-
namespace BootstrapAdmin.DataAccess.Models
{
///
/// 字典配置项
///
- [TableName("Dicts")]
- public class Dict
+ public class Dicts
{
///
/// 获得/设置 字典主键 数据库自增列
diff --git a/src/blazor/admin/BootstrapAdmin.DataAccess/Models/Menu.cs b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/Navigations.cs
similarity index 94%
rename from src/blazor/admin/BootstrapAdmin.DataAccess/Models/Menu.cs
rename to src/blazor/admin/BootstrapAdmin.DataAccess.Models/Navigations.cs
index 276fd655..cf522c28 100644
--- a/src/blazor/admin/BootstrapAdmin.DataAccess/Models/Menu.cs
+++ b/src/blazor/admin/BootstrapAdmin.DataAccess.Models/Navigations.cs
@@ -1,14 +1,11 @@
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
-using PetaPoco;
-
namespace BootstrapAdmin.DataAccess.Models
{
///
/// Bootstrap Admin 后台管理菜单相关操作实体类
///
- [TableName("Navigations")]
- public class Menu
+ public class Navigations
{
///
/// 获得/设置 菜单主键ID
@@ -78,6 +75,6 @@ namespace BootstrapAdmin.DataAccess.Models
///
/// 获得/设置 当前菜单项的所有子菜单集合
///
- public List