diff --git a/samples/DashboardDemo-old/.gitattributes b/samples/DashboardDemo-old/.gitattributes
deleted file mode 100644
index c941e52669..0000000000
--- a/samples/DashboardDemo-old/.gitattributes
+++ /dev/null
@@ -1 +0,0 @@
-**/wwwroot/libs/** linguist-vendored
diff --git a/samples/DashboardDemo-old/.gitignore b/samples/DashboardDemo-old/.gitignore
deleted file mode 100644
index 3c7ee2487b..0000000000
--- a/samples/DashboardDemo-old/.gitignore
+++ /dev/null
@@ -1,255 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# DNX
-project.lock.json
-artifacts/
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignoreable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# DashboardDemo
-src/DashboardDemo.Web/Logs/logs.txt
diff --git a/samples/DashboardDemo-old/DashboardDemo.sln b/samples/DashboardDemo-old/DashboardDemo.sln
deleted file mode 100644
index c6b0948d70..0000000000
--- a/samples/DashboardDemo-old/DashboardDemo.sln
+++ /dev/null
@@ -1,74 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.27703.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.Domain", "src\DashboardDemo.Domain\DashboardDemo.Domain.csproj", "{554AD327-6DBA-4F8F-96F8-81CE7A0C863F}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.Application", "src\DashboardDemo.Application\DashboardDemo.Application.csproj", "{1A94A50E-06DC-43C1-80B5-B662820EC3EB}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.EntityFrameworkCore", "src\DashboardDemo.EntityFrameworkCore\DashboardDemo.EntityFrameworkCore.csproj", "{C956DD76-69C8-4A9C-83EA-D17DF83340FD}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.Web", "src\DashboardDemo.Web\DashboardDemo.Web.csproj", "{068855E8-9240-4F1A-910B-CF825794513B}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CA9AC87F-097E-4F15-8393-4BC07735A5B0}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{04DBDB01-70F4-4E06-B468-8F87850B22BE}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.Application.Tests", "test\DashboardDemo.Application.Tests\DashboardDemo.Application.Tests.csproj", "{50B2631D-129C-47B3-A587-029CCD6099BC}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.Web.Tests", "test\DashboardDemo.Web.Tests\DashboardDemo.Web.Tests.csproj", "{5F1B28C6-8D0C-4155-92D0-252F7EA5F674}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DashboardDemo.EntityFrameworkCore.DbMigrations", "src\DashboardDemo.EntityFrameworkCore.DbMigrations\DashboardDemo.EntityFrameworkCore.DbMigrations.csproj", "{0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {554AD327-6DBA-4F8F-96F8-81CE7A0C863F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {554AD327-6DBA-4F8F-96F8-81CE7A0C863F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {554AD327-6DBA-4F8F-96F8-81CE7A0C863F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {554AD327-6DBA-4F8F-96F8-81CE7A0C863F}.Release|Any CPU.Build.0 = Release|Any CPU
- {1A94A50E-06DC-43C1-80B5-B662820EC3EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1A94A50E-06DC-43C1-80B5-B662820EC3EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1A94A50E-06DC-43C1-80B5-B662820EC3EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1A94A50E-06DC-43C1-80B5-B662820EC3EB}.Release|Any CPU.Build.0 = Release|Any CPU
- {C956DD76-69C8-4A9C-83EA-D17DF83340FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C956DD76-69C8-4A9C-83EA-D17DF83340FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C956DD76-69C8-4A9C-83EA-D17DF83340FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C956DD76-69C8-4A9C-83EA-D17DF83340FD}.Release|Any CPU.Build.0 = Release|Any CPU
- {068855E8-9240-4F1A-910B-CF825794513B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {068855E8-9240-4F1A-910B-CF825794513B}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {068855E8-9240-4F1A-910B-CF825794513B}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {068855E8-9240-4F1A-910B-CF825794513B}.Release|Any CPU.Build.0 = Release|Any CPU
- {50B2631D-129C-47B3-A587-029CCD6099BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {50B2631D-129C-47B3-A587-029CCD6099BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {50B2631D-129C-47B3-A587-029CCD6099BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {50B2631D-129C-47B3-A587-029CCD6099BC}.Release|Any CPU.Build.0 = Release|Any CPU
- {5F1B28C6-8D0C-4155-92D0-252F7EA5F674}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {5F1B28C6-8D0C-4155-92D0-252F7EA5F674}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {5F1B28C6-8D0C-4155-92D0-252F7EA5F674}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {5F1B28C6-8D0C-4155-92D0-252F7EA5F674}.Release|Any CPU.Build.0 = Release|Any CPU
- {0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {554AD327-6DBA-4F8F-96F8-81CE7A0C863F} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- {1A94A50E-06DC-43C1-80B5-B662820EC3EB} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- {C956DD76-69C8-4A9C-83EA-D17DF83340FD} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- {068855E8-9240-4F1A-910B-CF825794513B} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- {50B2631D-129C-47B3-A587-029CCD6099BC} = {04DBDB01-70F4-4E06-B468-8F87850B22BE}
- {5F1B28C6-8D0C-4155-92D0-252F7EA5F674} = {04DBDB01-70F4-4E06-B468-8F87850B22BE}
- {0372FA84-C517-4EB3-9A9F-B9ACAC0CA5E0} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}
- EndGlobalSection
-EndGlobal
diff --git a/samples/DashboardDemo-old/DashboardDemo.sln.DotSettings b/samples/DashboardDemo-old/DashboardDemo.sln.DotSettings
deleted file mode 100644
index b89df7b544..0000000000
--- a/samples/DashboardDemo-old/DashboardDemo.sln.DotSettings
+++ /dev/null
@@ -1,7 +0,0 @@
-
- True
- D:\github\abp\common.DotSettings
- ..\..\..\common.DotSettings
- True
- 1
-
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/common.props b/samples/DashboardDemo-old/common.props
deleted file mode 100644
index 7585f303ba..0000000000
--- a/samples/DashboardDemo-old/common.props
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- latest
- 1.0.0
- $(NoWarn);CS1591
-
-
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemo.Application.csproj b/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemo.Application.csproj
deleted file mode 100644
index 9bbd573401..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemo.Application.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
- netcoreapp2.2
- DashboardDemo
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationAutoMapperProfile.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationAutoMapperProfile.cs
deleted file mode 100644
index 4fcd9fbab3..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationAutoMapperProfile.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using AutoMapper;
-
-namespace DashboardDemo
-{
- public class DashboardDemoApplicationAutoMapperProfile : Profile
- {
- public DashboardDemoApplicationAutoMapperProfile()
- {
- //Configure your AutoMapper mapping configuration here...
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationModule.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationModule.cs
deleted file mode 100644
index afb761cce4..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/DashboardDemoApplicationModule.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using Volo.Abp.AutoMapper;
-using Volo.Abp.FeatureManagement;
-using Volo.Abp.Identity;
-using Volo.Abp.Modularity;
-using Volo.Abp.PermissionManagement;
-using Volo.Abp.TenantManagement;
-
-namespace DashboardDemo
-{
- [DependsOn(
- typeof(DashboardDemoDomainModule),
- typeof(AbpIdentityApplicationModule),
- typeof(AbpPermissionManagementApplicationModule),
- typeof(AbpTenantManagementApplicationModule),
- typeof(AbpFeatureManagementApplicationModule)
- )]
- public class DashboardDemoApplicationModule : AbpModule
- {
- public override void ConfigureServices(ServiceConfigurationContext context)
- {
- Configure(options =>
- {
- options.AddProfile();
- });
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/DemoStatisticAppService.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/DemoStatisticAppService.cs
deleted file mode 100644
index f00bf1ce32..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/DemoStatisticAppService.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp;
-using Volo.Abp.Application.Services;
-
-namespace DashboardDemo
-{
- public class DemoStatisticAppService : ApplicationService, IDemoStatisticAppService
- {
- public async Task GetMonthlyUserStatistic(FilterDto filter)
- {
- var monthCount = GetLabels(filter, out var monthList);
-
- var data = Enumerable
- .Repeat(0, monthCount)
- .Select(i => new Random().Next(750, 960))
- .ToArray();
-
- return new GetMonthlyUserStatisticDto{Labels = monthList.ToArray(), Data = data};
- }
-
- public async Task GetMonthlyProfitStatistic(FilterDto filter)
- {
- var monthCount = GetLabels(filter, out var monthList);
-
- var data = Enumerable
- .Repeat(0, monthCount)
- .Select(i => new Random().Next(-20, 40))
- .ToArray();
-
- return new MonthlyProfitStatisticDto { Labels = monthList.ToArray(), Data = data };
- }
-
- private static int GetLabels(FilterDto filter, out List monthList)
- {
- DateTime endDate = filter.EndDate ?? DateTime.Now;
- DateTime startDate = filter.StartDate ?? DateTime.Now.AddYears(-1);
-
- if (filter.StartDate > filter.EndDate)
- {
- throw new BusinessException("Start date can not be greater than end date.");
- }
-
- var months = new[] {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"};
- var monthCount = (endDate.Year - startDate.Year) * 12 + endDate.Month - startDate.Month +1;
- monthList = new List();
-
- for (int i = 0; i < monthCount; i++)
- {
- monthList.Add(months[endDate.Month-1]);
- endDate = endDate.AddMonths(-1);
- }
-
-
- monthList.Reverse();
-
- return monthCount;
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/FilterDto.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/FilterDto.cs
deleted file mode 100644
index 9093a7b393..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/FilterDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace DashboardDemo
-{
- public class FilterDto
- {
- public DateTime? StartDate { get; set; }
-
- public DateTime? EndDate { get; set; }
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/GetMonthlyUserStatisticDto.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/GetMonthlyUserStatisticDto.cs
deleted file mode 100644
index 16e3a13370..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/GetMonthlyUserStatisticDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace DashboardDemo
-{
- public class GetMonthlyUserStatisticDto
- {
- public string[] Labels { get; set; }
-
- public int[] Data { get; set; }
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/IDemoStatisticAppService.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/IDemoStatisticAppService.cs
deleted file mode 100644
index 47524172ae..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/IDemoStatisticAppService.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Services;
-
-namespace DashboardDemo
-{
- public interface IDemoStatisticAppService : IApplicationService
- {
- Task GetMonthlyUserStatistic(FilterDto filter);
-
- Task GetMonthlyProfitStatistic(FilterDto filter);
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/MonthlyProfitStatisticDto.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/MonthlyProfitStatisticDto.cs
deleted file mode 100644
index 96ee285af5..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/MonthlyProfitStatisticDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace DashboardDemo
-{
- public class MonthlyProfitStatisticDto
- {
- public string[] Labels { get; set; }
-
- public int[] Data { get; set; }
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissionDefinitionProvider.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissionDefinitionProvider.cs
deleted file mode 100644
index 92fe2c1025..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissionDefinitionProvider.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using DashboardDemo.Localization.DashboardDemo;
-using Volo.Abp.Authorization.Permissions;
-using Volo.Abp.Localization;
-
-namespace DashboardDemo.Permissions
-{
- public class DashboardDemoPermissionDefinitionProvider : PermissionDefinitionProvider
- {
- public override void Define(IPermissionDefinitionContext context)
- {
- var myGroup = context.AddGroup(DashboardDemoPermissions.GroupName);
-
- //Define your own permissions here. Example:
- //myGroup.AddPermission(DashboardDemoPermissions.MyPermission1, L("Permission:MyPermission1"));
- }
-
- private static LocalizableString L(string name)
- {
- return LocalizableString.Create(name);
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissions.cs b/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissions.cs
deleted file mode 100644
index 3a09652db2..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Application/Permissions/DashboardDemoPermissions.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using Volo.Abp.Reflection;
-
-namespace DashboardDemo.Permissions
-{
- public static class DashboardDemoPermissions
- {
- public const string GroupName = "DashboardDemo";
-
- //Add your own permission names. Example:
- //public const string MyPermission1 = GroupName + ".MyPermission1";
-
- public static string[] GetAll()
- {
- //Return an array of all permissions
- return ReflectionHelper.GetPublicConstantsRecursively(typeof(DashboardDemoPermissions));
- }
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemo.Domain.csproj b/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemo.Domain.csproj
deleted file mode 100644
index d036f48de2..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemo.Domain.csproj
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
- netcoreapp2.2
- DashboardDemo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoConsts.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoConsts.cs
deleted file mode 100644
index 25e571159d..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoConsts.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace DashboardDemo
-{
- public static class DashboardDemoConsts
- {
- public const string DbTablePrefix = "App";
-
- public const string DbSchema = null;
-
- public const bool IsMultiTenancyEnabled = true;
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoDomainModule.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoDomainModule.cs
deleted file mode 100644
index f101211a9a..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/DashboardDemoDomainModule.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using DashboardDemo.Localization.DashboardDemo;
-using Volo.Abp.Auditing;
-using Volo.Abp.AuditLogging;
-using Volo.Abp.BackgroundJobs;
-using Volo.Abp.FeatureManagement;
-using Volo.Abp.Identity;
-using Volo.Abp.Localization;
-using Volo.Abp.Localization.Resources.AbpValidation;
-using Volo.Abp.Modularity;
-using Volo.Abp.MultiTenancy;
-using Volo.Abp.PermissionManagement.Identity;
-using Volo.Abp.TenantManagement;
-using Volo.Abp.VirtualFileSystem;
-
-namespace DashboardDemo
-{
- [DependsOn(
- typeof(AbpIdentityDomainModule),
- typeof(AbpPermissionManagementDomainIdentityModule),
- typeof(AbpAuditingModule),
- typeof(BackgroundJobsDomainModule),
- typeof(AbpAuditLoggingDomainModule),
- typeof(AbpTenantManagementDomainModule),
- typeof(AbpFeatureManagementDomainModule)
- )]
- public class DashboardDemoDomainModule : AbpModule
- {
- public override void ConfigureServices(ServiceConfigurationContext context)
- {
- Configure(options =>
- {
- options.FileSets.AddEmbedded("DashboardDemo");
- });
-
- Configure(options =>
- {
- options.Resources
- .Add("en")
- .AddBaseTypes(typeof(AbpValidationResource))
- .AddVirtualJson("/Localization/DashboardDemo");
- });
-
- Configure(options =>
- {
- options.IsEnabled = DashboardDemoConsts.IsMultiTenancyEnabled;
- });
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/DashboardDemoResource.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/DashboardDemoResource.cs
deleted file mode 100644
index 52f9f3cc47..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/DashboardDemoResource.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using Volo.Abp.Localization;
-
-namespace DashboardDemo.Localization.DashboardDemo
-{
- [LocalizationResourceName("DashboardDemo")]
- public class DashboardDemoResource
- {
-
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/cs.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/cs.json
deleted file mode 100644
index 01438ba1e8..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/cs.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "culture": "cs",
- "texts": {
- "Menu:Home": "Úvod",
- "Welcome": "Vítejte",
- "RolesInApplication": "Role v aplikaci",
- "UserCount": "Počet uživatelů",
- "LongWelcomeMessage": "Vítejte v aplikaci. Toto je startovací projekt založený na ABP frameworku. Pro více informací, navštivte abp.io."
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/en.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/en.json
deleted file mode 100644
index aa3df71bf2..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/en.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "culture": "en",
- "texts": {
- "Menu:Home": "Home",
- "Welcome": "Welcome",
- "RolesInApplication": "Roles in application",
- "UserCount": "User count",
- "LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io."
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pl.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pl.json
deleted file mode 100644
index f1a26b3f9f..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pl.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "culture": "pl",
- "texts": {
- "Menu:Home": "Home",
- "Welcome": "Witaj",
- "RolesInApplication": "Role w aplikacji",
- "UserCount": "Ilość użytkowników",
- "LongWelcomeMessage": "Witaj w aplikacji. To jest inicjalny projekt bazujący na ABP framework. Po więcej informacji odwiedź stronę abp.io."
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pt-BR.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pt-BR.json
deleted file mode 100644
index 8c818a07af..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/pt-BR.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "culture": "pt-BR",
- "texts": {
- "Menu:Home": "Principal",
- "Welcome": "Seja bem-vindo!",
- "LongWelcomeMessage": "Bem-vindo a esta aplicação. Este é um projeto inicial baseado no ABP framework. Para mais informações, visite abp.io."
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/tr.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/tr.json
deleted file mode 100644
index 5bf83ee7a8..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/tr.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "culture": "tr",
- "texts": {
- "Menu:Home": "Ana sayfa",
- "Welcome": "Hoşgeldiniz",
- "LongWelcomeMessage": "Uygulamaya hoşgeldiniz. Bu, ABP framework'ü üzerine bina edilmiş bir başlangıç projesidir. Daha fazla bilgi için abp.io adresini ziyaret edebilirsiniz."
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/vi.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/vi.json
deleted file mode 100644
index c629274a1b..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/vi.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "culture": "vi",
- "texts": {
- "Menu:Home": "Trang chủ",
- "Welcome": "Xin chào bạn",
- "RolesInApplication": "Vai trò trong ứng dụng",
- "UserCount": "Số lượng người dùng",
- "LongWelcomeMessage": "Chào mừng bạn đến ứng dụng. Đây là mẫu khởi động dự án dựa trên khung ABP. Để biết thêm thông tin, hãy truy cập abp.io."
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/zh-Hans.json b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/zh-Hans.json
deleted file mode 100644
index 459fc0fefd..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Localization/DashboardDemo/zh-Hans.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "culture": "zh-Hans",
- "texts": {
- "Menu:Home": "首页",
- "Welcome": "欢迎",
- "LongWelcomeMessage": "欢迎来到该应用程序. 这是一个基于ABP框架的启动项目. 有关更多信息, 请访问 cn.abp.io."
- }
- }
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettingDefinitionProvider.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettingDefinitionProvider.cs
deleted file mode 100644
index 8ba9abccaa..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettingDefinitionProvider.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using Volo.Abp.Settings;
-
-namespace DashboardDemo.Settings
-{
- public class DashboardDemoSettingDefinitionProvider : SettingDefinitionProvider
- {
- public override void Define(ISettingDefinitionContext context)
- {
- //Define your own settings here. Example:
- //context.Add(new SettingDefinition(DashboardDemoSettings.MySetting1));
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettings.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettings.cs
deleted file mode 100644
index eaffcc35c6..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Settings/DashboardDemoSettings.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace DashboardDemo.Settings
-{
- public static class DashboardDemoSettings
- {
- private const string Prefix = "DashboardDemo";
-
- //Add your own setting names here. Example:
- //public const string MySetting1 = Prefix + ".MySetting1";
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Users/AppUser.cs b/samples/DashboardDemo-old/src/DashboardDemo.Domain/Users/AppUser.cs
deleted file mode 100644
index 2f2ba91689..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.Domain/Users/AppUser.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using System;
-using Volo.Abp.Domain.Entities.Auditing;
-using Volo.Abp.Users;
-
-namespace DashboardDemo.Users
-{
- /* This entity shares the same table/collection ("AbpUsers" by default) with the
- * IdentityUser entity of the Identity module.
- *
- * - You can define your custom properties into this class.
- * - You never create or delete this entity, because it is Identity module's job.
- * - You can query users from database with this entity.
- * - You can update values of your custom properties.
- */
- public class AppUser : FullAuditedAggregateRoot, IUser
- {
- #region Base properties
-
- /* These properties are shared with the IdentityUser entity of the Identity module.
- * Do not change these properties through this class. Instead, use Identity module
- * services (like IdentityUserManager) to change them.
- * So, this properties are designed as read only!
- */
-
- public virtual Guid? TenantId { get; private set; }
-
- public virtual string UserName { get; private set; }
-
- public virtual string Name { get; private set; }
-
- public virtual string Surname { get; private set; }
-
- public virtual string Email { get; private set; }
-
- public virtual bool EmailConfirmed { get; private set; }
-
- public virtual string PhoneNumber { get; private set; }
-
- public virtual bool PhoneNumberConfirmed { get; private set; }
-
- #endregion
-
- /* Add your own properties here. Example:
- *
- * public virtual string MyProperty { get; set; }
- */
-
- private AppUser()
- {
-
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/DashboardDemo.EntityFrameworkCore.DbMigrations.csproj b/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/DashboardDemo.EntityFrameworkCore.DbMigrations.csproj
deleted file mode 100644
index 8b1fe3f5ee..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/DashboardDemo.EntityFrameworkCore.DbMigrations.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
- netcoreapp2.2
- DashboardDemo
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContext.cs b/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContext.cs
deleted file mode 100644
index 03ed1a2d3d..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContext.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using Microsoft.EntityFrameworkCore;
-using Volo.Abp.AuditLogging.EntityFrameworkCore;
-using Volo.Abp.BackgroundJobs.EntityFrameworkCore;
-using Volo.Abp.EntityFrameworkCore;
-using Volo.Abp.Identity;
-using Volo.Abp.Identity.EntityFrameworkCore;
-using Volo.Abp.PermissionManagement.EntityFrameworkCore;
-using Volo.Abp.SettingManagement.EntityFrameworkCore;
-using Volo.Abp.TenantManagement.EntityFrameworkCore;
-
-namespace DashboardDemo.EntityFrameworkCore
-{
- public class DashboardDemoMigrationsDbContext : AbpDbContext
- {
- public DashboardDemoMigrationsDbContext(DbContextOptions options)
- : base(options)
- {
-
- }
-
- protected override void OnModelCreating(ModelBuilder builder)
- {
- base.OnModelCreating(builder);
-
- /* Include modules to your migration db context */
-
- builder.ConfigurePermissionManagement();
- builder.ConfigureSettingManagement();
- builder.ConfigureBackgroundJobs();
- builder.ConfigureAuditLogging();
- builder.ConfigureIdentity();
- builder.ConfigureTenantManagement();
-
- /* Configure customizations for entities from the modules included */
-
- builder.Entity(b =>
- {
- b.ConfigureCustomUserProperties();
- });
-
- /* Configure your own tables/entities inside the ConfigureDashboardDemo method */
-
- builder.ConfigureDashboardDemo();
- }
- }
-}
\ No newline at end of file
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContextFactory.cs b/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContextFactory.cs
deleted file mode 100644
index b894e405bc..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/EntityFrameworkCore/DashboardDemoMigrationsDbContextFactory.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.IO;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Design;
-using Microsoft.Extensions.Configuration;
-
-namespace DashboardDemo.EntityFrameworkCore
-{
- public class DashboardDemoMigrationsDbContextFactory : IDesignTimeDbContextFactory
- {
- public DashboardDemoMigrationsDbContext CreateDbContext(string[] args)
- {
- var configuration = BuildConfiguration();
-
- var builder = new DbContextOptionsBuilder()
- .UseSqlServer(configuration.GetConnectionString("Default"));
-
- return new DashboardDemoMigrationsDbContext(builder.Options);
- }
-
- private static IConfigurationRoot BuildConfiguration()
- {
- var builder = new ConfigurationBuilder()
- .SetBasePath(Directory.GetCurrentDirectory())
- .AddJsonFile("appsettings.json", optional: false);
-
- return builder.Build();
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.Designer.cs b/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.Designer.cs
deleted file mode 100644
index 8c4848b563..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.Designer.cs
+++ /dev/null
@@ -1,760 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using DashboardDemo.EntityFrameworkCore;
-
-namespace DashboardDemo.Migrations
-{
- [DbContext(typeof(DashboardDemoMigrationsDbContext))]
- [Migration("20190402131334_Initial")]
- partial class Initial
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.2.0-rtm-35687")
- .HasAnnotation("Relational:MaxIdentifierLength", 128)
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ApplicationName")
- .HasColumnName("ApplicationName")
- .HasMaxLength(96);
-
- b.Property("BrowserInfo")
- .HasColumnName("BrowserInfo")
- .HasMaxLength(512);
-
- b.Property("ClientId")
- .HasColumnName("ClientId")
- .HasMaxLength(64);
-
- b.Property("ClientIpAddress")
- .HasColumnName("ClientIpAddress")
- .HasMaxLength(64);
-
- b.Property("ClientName")
- .HasColumnName("ClientName")
- .HasMaxLength(128);
-
- b.Property("Comments")
- .HasColumnName("Comments")
- .HasMaxLength(256);
-
- b.Property("ConcurrencyStamp");
-
- b.Property("CorrelationId")
- .HasColumnName("CorrelationId")
- .HasMaxLength(64);
-
- b.Property("Exceptions")
- .HasColumnName("Exceptions")
- .HasMaxLength(4000);
-
- b.Property("ExecutionDuration")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("HttpMethod")
- .HasColumnName("HttpMethod")
- .HasMaxLength(16);
-
- b.Property("HttpStatusCode")
- .HasColumnName("HttpStatusCode");
-
- b.Property("ImpersonatorTenantId")
- .HasColumnName("ImpersonatorTenantId");
-
- b.Property("ImpersonatorUserId")
- .HasColumnName("ImpersonatorUserId");
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.Property("TenantName");
-
- b.Property("Url")
- .HasColumnName("Url")
- .HasMaxLength(256);
-
- b.Property("UserId")
- .HasColumnName("UserId");
-
- b.Property("UserName")
- .HasColumnName("UserName")
- .HasMaxLength(256);
-
- b.HasKey("Id");
-
- b.HasIndex("TenantId", "ExecutionTime");
-
- b.HasIndex("TenantId", "UserId", "ExecutionTime");
-
- b.ToTable("AbpAuditLogs");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AuditLogId")
- .HasColumnName("AuditLogId");
-
- b.Property("ExecutionDuration")
- .HasColumnName("ExecutionDuration");
-
- b.Property("ExecutionTime")
- .HasColumnName("ExecutionTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("MethodName")
- .HasColumnName("MethodName")
- .HasMaxLength(128);
-
- b.Property("Parameters")
- .HasColumnName("Parameters")
- .HasMaxLength(2000);
-
- b.Property("ServiceName")
- .HasColumnName("ServiceName")
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime");
-
- b.ToTable("AbpAuditLogActions");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AuditLogId")
- .HasColumnName("AuditLogId");
-
- b.Property("ChangeTime")
- .HasColumnName("ChangeTime");
-
- b.Property("ChangeType")
- .HasColumnName("ChangeType");
-
- b.Property("EntityId")
- .IsRequired()
- .HasColumnName("EntityId")
- .HasMaxLength(128);
-
- b.Property("EntityTenantId");
-
- b.Property("EntityTypeFullName")
- .IsRequired()
- .HasColumnName("EntityTypeFullName")
- .HasMaxLength(128);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("AuditLogId");
-
- b.HasIndex("TenantId", "EntityTypeFullName", "EntityId");
-
- b.ToTable("AbpEntityChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("EntityChangeId");
-
- b.Property("NewValue")
- .HasColumnName("NewValue")
- .HasMaxLength(512);
-
- b.Property("OriginalValue")
- .HasColumnName("OriginalValue")
- .HasMaxLength(512);
-
- b.Property("PropertyName")
- .IsRequired()
- .HasColumnName("PropertyName")
- .HasMaxLength(128);
-
- b.Property("PropertyTypeFullName")
- .IsRequired()
- .HasColumnName("PropertyTypeFullName")
- .HasMaxLength(64);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("EntityChangeId");
-
- b.ToTable("AbpEntityPropertyChanges");
- });
-
- modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsAbandoned")
- .ValueGeneratedOnAdd()
- .HasDefaultValue(false);
-
- b.Property("JobArgs")
- .IsRequired()
- .HasMaxLength(1048576);
-
- b.Property("JobName")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("LastTryTime");
-
- b.Property("NextTryTime");
-
- b.Property("Priority")
- .ValueGeneratedOnAdd()
- .HasDefaultValue((byte)15);
-
- b.Property("TryCount")
- .ValueGeneratedOnAdd()
- .HasDefaultValue((short)0);
-
- b.HasKey("Id");
-
- b.HasIndex("IsAbandoned", "NextTryTime");
-
- b.ToTable("AbpBackgroundJobs");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasColumnName("ConcurrencyStamp")
- .HasMaxLength(256);
-
- b.Property("Description")
- .HasMaxLength(256);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsStatic");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("Regex")
- .HasMaxLength(512);
-
- b.Property("RegexDescription")
- .HasMaxLength(128);
-
- b.Property("Required");
-
- b.Property("ValueType");
-
- b.HasKey("Id");
-
- b.ToTable("AbpClaimTypes");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasColumnName("ConcurrencyStamp")
- .HasMaxLength(256);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDefault")
- .HasColumnName("IsDefault");
-
- b.Property("IsPublic")
- .HasColumnName("IsPublic");
-
- b.Property("IsStatic")
- .HasColumnName("IsStatic");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("NormalizedName")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName");
-
- b.ToTable("AbpRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("RoleId");
-
- b.ToTable("AbpRoleClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AccessFailedCount")
- .ValueGeneratedOnAdd()
- .HasColumnName("AccessFailedCount")
- .HasDefaultValue(0);
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("Email")
- .HasColumnName("Email")
- .HasMaxLength(256);
-
- b.Property("EmailConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("EmailConfirmed")
- .HasDefaultValue(false);
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("LockoutEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("LockoutEnabled")
- .HasDefaultValue(false);
-
- b.Property("LockoutEnd");
-
- b.Property("Name")
- .HasColumnName("Name")
- .HasMaxLength(64);
-
- b.Property("NormalizedEmail")
- .HasColumnName("NormalizedEmail")
- .HasMaxLength(256);
-
- b.Property("NormalizedUserName")
- .IsRequired()
- .HasColumnName("NormalizedUserName")
- .HasMaxLength(256);
-
- b.Property("PasswordHash")
- .HasColumnName("PasswordHash")
- .HasMaxLength(256);
-
- b.Property("PhoneNumber")
- .HasColumnName("PhoneNumber")
- .HasMaxLength(16);
-
- b.Property("PhoneNumberConfirmed")
- .ValueGeneratedOnAdd()
- .HasColumnName("PhoneNumberConfirmed")
- .HasDefaultValue(false);
-
- b.Property("SecurityStamp")
- .IsRequired()
- .HasColumnName("SecurityStamp")
- .HasMaxLength(256);
-
- b.Property("Surname")
- .HasColumnName("Surname")
- .HasMaxLength(64);
-
- b.Property("TenantId")
- .HasColumnName("TenantId");
-
- b.Property("TwoFactorEnabled")
- .ValueGeneratedOnAdd()
- .HasColumnName("TwoFactorEnabled")
- .HasDefaultValue(false);
-
- b.Property("UserName")
- .IsRequired()
- .HasColumnName("UserName")
- .HasMaxLength(256);
-
- b.HasKey("Id");
-
- b.HasIndex("Email");
-
- b.HasIndex("NormalizedEmail");
-
- b.HasIndex("NormalizedUserName");
-
- b.HasIndex("UserName");
-
- b.ToTable("AbpUsers");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClaimType")
- .IsRequired()
- .HasMaxLength(256);
-
- b.Property("ClaimValue")
- .HasMaxLength(1024);
-
- b.Property("TenantId");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("AbpUserClaims");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(64);
-
- b.Property("ProviderDisplayName")
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(196);
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "LoginProvider");
-
- b.HasIndex("LoginProvider", "ProviderKey");
-
- b.ToTable("AbpUserLogins");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.Property("UserId");
-
- b.Property("RoleId");
-
- b.Property("TenantId");
-
- b.HasKey("UserId", "RoleId");
-
- b.HasIndex("RoleId", "UserId");
-
- b.ToTable("AbpUserRoles");
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.Property("UserId");
-
- b.Property("LoginProvider")
- .HasMaxLength(64);
-
- b.Property("Name")
- .HasMaxLength(128);
-
- b.Property("TenantId");
-
- b.Property("Value");
-
- b.HasKey("UserId", "LoginProvider", "Name");
-
- b.ToTable("AbpUserTokens");
- });
-
- modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .IsRequired()
- .HasMaxLength(64);
-
- b.Property("ProviderName")
- .IsRequired()
- .HasMaxLength(64);
-
- b.Property("TenantId");
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpPermissionGrants");
- });
-
- modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(128);
-
- b.Property("ProviderKey")
- .HasMaxLength(64);
-
- b.Property("ProviderName")
- .HasMaxLength(64);
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(2048);
-
- b.HasKey("Id");
-
- b.HasIndex("Name", "ProviderName", "ProviderKey");
-
- b.ToTable("AbpSettings");
- });
-
- modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnName("ConcurrencyStamp");
-
- b.Property("CreationTime")
- .HasColumnName("CreationTime");
-
- b.Property("CreatorId")
- .HasColumnName("CreatorId");
-
- b.Property("DeleterId")
- .HasColumnName("DeleterId");
-
- b.Property("DeletionTime")
- .HasColumnName("DeletionTime");
-
- b.Property("ExtraProperties")
- .HasColumnName("ExtraProperties");
-
- b.Property("IsDeleted")
- .ValueGeneratedOnAdd()
- .HasColumnName("IsDeleted")
- .HasDefaultValue(false);
-
- b.Property("LastModificationTime")
- .HasColumnName("LastModificationTime");
-
- b.Property("LastModifierId")
- .HasColumnName("LastModifierId");
-
- b.Property("Name")
- .IsRequired()
- .HasMaxLength(64);
-
- b.HasKey("Id");
-
- b.HasIndex("Name")
- .IsUnique();
-
- b.ToTable("AbpTenants");
- });
-
- modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b =>
- {
- b.Property("TenantId");
-
- b.Property("Name")
- .HasMaxLength(64);
-
- b.Property("Value")
- .IsRequired()
- .HasMaxLength(1024);
-
- b.HasKey("TenantId", "Name");
-
- b.ToTable("AbpTenantConnectionStrings");
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b =>
- {
- b.HasOne("Volo.Abp.AuditLogging.AuditLog")
- .WithMany("Actions")
- .HasForeignKey("AuditLogId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b =>
- {
- b.HasOne("Volo.Abp.AuditLogging.AuditLog")
- .WithMany("EntityChanges")
- .HasForeignKey("AuditLogId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b =>
- {
- b.HasOne("Volo.Abp.AuditLogging.EntityChange")
- .WithMany("PropertyChanges")
- .HasForeignKey("EntityChangeId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityRole")
- .WithMany("Claims")
- .HasForeignKey("RoleId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Claims")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Logins")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityRole")
- .WithMany()
- .HasForeignKey("RoleId")
- .OnDelete(DeleteBehavior.Cascade);
-
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Roles")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
- {
- b.HasOne("Volo.Abp.Identity.IdentityUser")
- .WithMany("Tokens")
- .HasForeignKey("UserId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-
- modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b =>
- {
- b.HasOne("Volo.Abp.TenantManagement.Tenant")
- .WithMany("ConnectionStrings")
- .HasForeignKey("TenantId")
- .OnDelete(DeleteBehavior.Cascade);
- });
-#pragma warning restore 612, 618
- }
- }
-}
diff --git a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.cs b/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.cs
deleted file mode 100644
index f6b5519820..0000000000
--- a/samples/DashboardDemo-old/src/DashboardDemo.EntityFrameworkCore.DbMigrations/Migrations/20190402131334_Initial.cs
+++ /dev/null
@@ -1,546 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace DashboardDemo.Migrations
-{
- public partial class Initial : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "AbpAuditLogs",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(nullable: true),
- ApplicationName = table.Column(maxLength: 96, nullable: true),
- UserId = table.Column(nullable: true),
- UserName = table.Column(maxLength: 256, nullable: true),
- TenantId = table.Column(nullable: true),
- TenantName = table.Column(nullable: true),
- ImpersonatorUserId = table.Column(nullable: true),
- ImpersonatorTenantId = table.Column(nullable: true),
- ExecutionTime = table.Column(nullable: false),
- ExecutionDuration = table.Column(nullable: false),
- ClientIpAddress = table.Column(maxLength: 64, nullable: true),
- ClientName = table.Column(maxLength: 128, nullable: true),
- ClientId = table.Column(maxLength: 64, nullable: true),
- CorrelationId = table.Column(maxLength: 64, nullable: true),
- BrowserInfo = table.Column(maxLength: 512, nullable: true),
- HttpMethod = table.Column(maxLength: 16, nullable: true),
- Url = table.Column(maxLength: 256, nullable: true),
- Exceptions = table.Column(maxLength: 4000, nullable: true),
- Comments = table.Column(maxLength: 256, nullable: true),
- HttpStatusCode = table.Column(nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpAuditLogs", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpBackgroundJobs",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(nullable: true),
- JobName = table.Column(maxLength: 128, nullable: false),
- JobArgs = table.Column(maxLength: 1048576, nullable: false),
- TryCount = table.Column(nullable: false, defaultValue: (short)0),
- CreationTime = table.Column(nullable: false),
- NextTryTime = table.Column(nullable: false),
- LastTryTime = table.Column(nullable: true),
- IsAbandoned = table.Column(nullable: false, defaultValue: false),
- Priority = table.Column(nullable: false, defaultValue: (byte)15)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpBackgroundJobs", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpClaimTypes",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(maxLength: 256, nullable: false),
- Name = table.Column(maxLength: 256, nullable: false),
- Required = table.Column(nullable: false),
- IsStatic = table.Column(nullable: false),
- Regex = table.Column(maxLength: 512, nullable: true),
- RegexDescription = table.Column(maxLength: 128, nullable: true),
- Description = table.Column(maxLength: 256, nullable: true),
- ValueType = table.Column(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpClaimTypes", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpPermissionGrants",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- TenantId = table.Column(nullable: true),
- Name = table.Column(maxLength: 128, nullable: false),
- ProviderName = table.Column(maxLength: 64, nullable: false),
- ProviderKey = table.Column(maxLength: 64, nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpPermissionGrants", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpRoles",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(maxLength: 256, nullable: false),
- TenantId = table.Column(nullable: true),
- Name = table.Column(maxLength: 256, nullable: false),
- NormalizedName = table.Column(maxLength: 256, nullable: false),
- IsDefault = table.Column(nullable: false),
- IsStatic = table.Column(nullable: false),
- IsPublic = table.Column(nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpRoles", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpSettings",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- Name = table.Column(maxLength: 128, nullable: false),
- Value = table.Column(maxLength: 2048, nullable: false),
- ProviderName = table.Column(maxLength: 64, nullable: true),
- ProviderKey = table.Column(maxLength: 64, nullable: true)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpSettings", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpTenants",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(nullable: true),
- CreationTime = table.Column(nullable: false),
- CreatorId = table.Column(nullable: true),
- LastModificationTime = table.Column(nullable: true),
- LastModifierId = table.Column(nullable: true),
- IsDeleted = table.Column(nullable: false, defaultValue: false),
- DeleterId = table.Column(nullable: true),
- DeletionTime = table.Column(nullable: true),
- Name = table.Column(maxLength: 64, nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_AbpTenants", x => x.Id);
- });
-
- migrationBuilder.CreateTable(
- name: "AbpUsers",
- columns: table => new
- {
- Id = table.Column(nullable: false),
- ExtraProperties = table.Column(nullable: true),
- ConcurrencyStamp = table.Column(nullable: true),
- CreationTime = table.Column(nullable: false),
- CreatorId = table.Column(nullable: true),
- LastModificationTime = table.Column(nullable: true),
- LastModifierId = table.Column(nullable: true),
- IsDeleted = table.Column(nullable: false, defaultValue: false),
- DeleterId = table.Column(nullable: true),
- DeletionTime = table.Column(nullable: true),
- TenantId = table.Column(nullable: true),
- UserName = table.Column