Browse Source
Merge pull request #4131 from abpframework/efcore-update-3-1-x
Upgrade Entity Framework Core Nuget Packages to the latest 3.1.x version
pull/4135/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with
112 additions and
87 deletions
-
framework/src/Volo.Abp.EntityFrameworkCore.SqlServer/Volo.Abp.EntityFrameworkCore.SqlServer.csproj
-
framework/src/Volo.Abp.EntityFrameworkCore.Sqlite/Volo.Abp.EntityFrameworkCore.Sqlite.csproj
-
framework/src/Volo.Abp.EntityFrameworkCore/Volo.Abp.EntityFrameworkCore.csproj
-
framework/test/Volo.Abp.Auditing.Tests/Volo.Abp.Auditing.Tests.csproj
-
framework/test/Volo.Abp.Auditing.Tests/Volo/Abp/Auditing/AbpAuditingTestModule.cs
-
framework/test/Volo.Abp.Dapper.Tests/Volo.Abp.Dapper.Tests.csproj
-
framework/test/Volo.Abp.Dapper.Tests/Volo/Abp/Dapper/AbpDapperTestModule.cs
-
framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo.Abp.EntityFrameworkCore.Tests.csproj
-
framework/test/Volo.Abp.EntityFrameworkCore.Tests/Volo/Abp/EntityFrameworkCore/AbpEntityFrameworkCoreTestModule.cs
-
modules/account/test/Volo.Abp.Account.Application.Tests/Volo.Abp.Account.Application.Tests.csproj
-
modules/account/test/Volo.Abp.Account.Application.Tests/Volo/Abp/Account/AbpAccountApplicationTestModule.cs
-
modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests.csproj
-
modules/audit-logging/test/Volo.Abp.AuditLogging.EntityFrameworkCore.Tests/Volo/Abp/AuditLogging/EntityFrameworkCore/AbpAuditLoggingEntityFrameworkCoreTestModule.cs
-
modules/background-jobs/app/Volo.Abp.BackgroundJobs.DemoApp/Volo.Abp.BackgroundJobs.DemoApp.csproj
-
modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests.csproj
-
modules/background-jobs/test/Volo.Abp.BackgroundJobs.EntityFrameworkCore.Tests/Volo/Abp/BackgroundJobs/EntityFrameworkCore/AbpBackgroundJobsEntityFrameworkCoreTestModule.cs
-
modules/blogging/app/Volo.BloggingTestApp/Volo.BloggingTestApp.csproj
-
modules/blogging/test/Volo.Blogging.Domain.Tests/Volo/Abp/Blogging/BloggingDomainTestModule.cs
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo.Blogging.EntityFrameworkCore.Tests.csproj
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo/Blogging/Blogs/BlogRepository_Tests.cs
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo/Blogging/Comments/CommentRepository_Tests.cs
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo/Blogging/EntityFrameworkCore/BloggingEntityFrameworkCoreTestModule.cs
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo/Blogging/Posts/PostRepository_Tests.cs
-
modules/blogging/test/Volo.Blogging.EntityFrameworkCore.Tests/Volo/Blogging/Tagging/TagRepository_Tests.cs
-
modules/docs/app/VoloDocs.Web/VoloDocs.Web.csproj
-
modules/docs/test/Volo.Docs.EntityFrameworkCore.Tests/Volo.Docs.EntityFrameworkCore.Tests.csproj
-
modules/docs/test/Volo.Docs.EntityFrameworkCore.Tests/Volo/Docs/EntityFrameworkCore/DocsEntityFrameworkCoreTestModule.cs
-
modules/feature-management/test/Volo.Abp.FeatureManagement.EntityFrameworkCore.Tests/Volo.Abp.FeatureManagement.EntityFrameworkCore.Tests.csproj
-
modules/feature-management/test/Volo.Abp.FeatureManagement.EntityFrameworkCore.Tests/Volo/Abp/FeatureManagement/EntityFrameworkCore/AbpFeatureManagementEntityFrameworkCoreTestModule.cs
-
modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo.Abp.Identity.EntityFrameworkCore.Tests.csproj
-
modules/identity/test/Volo.Abp.Identity.EntityFrameworkCore.Tests/Volo/Abp/Identity/EntityFrameworkCore/AbpIdentityEntityFrameworkCoreTestModule.cs
-
modules/identityserver/test/Volo.Abp.IdentityServer.EntityFrameworkCore.Tests/Volo.Abp.IdentityServer.EntityFrameworkCore.Tests.csproj
-
modules/identityserver/test/Volo.Abp.IdentityServer.EntityFrameworkCore.Tests/Volo/Abp/IdentityServer/AbpIdentityServerTestEntityFrameworkCoreModule.cs
-
modules/permission-management/test/Volo.Abp.PermissionManagement.Domain.Tests/Volo.Abp.PermissionManagement.Domain.Tests.csproj
-
modules/permission-management/test/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests/Volo.Abp.PermissionManagement.EntityFrameworkCore.Tests.csproj
-
modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests.csproj
-
modules/setting-management/test/Volo.Abp.SettingManagement.EntityFrameworkCore.Tests/Volo/Abp/SettingManagement/EntityFrameworkCore/AbpSettingManagementEntityFrameworkCoreTestModule.cs
-
modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests.csproj
-
modules/tenant-management/test/Volo.Abp.TenantManagement.EntityFrameworkCore.Tests/Volo/Abp/TenantManagement/EntityFrameworkCore/AbpTenantManagementEntityFrameworkCoreTestModule.cs
-
modules/users/test/Volo.Abp.Users.EntityFrameworkCore.Tests/Volo.Abp.Users.EntityFrameworkCore.Tests.csproj
-
samples/MicroserviceDemo/applications/AuthServer.Host/AuthServer.Host.csproj
-
samples/MicroserviceDemo/microservices/ProductService.Host/ProductService.Host.csproj
-
samples/MicroserviceDemo/modules/product/src/ProductManagement.EntityFrameworkCore/ProductManagement.EntityFrameworkCore.csproj
-
samples/MicroserviceDemo/modules/product/test/ProductManagement.EntityFrameworkCore.Tests/ProductManagement.EntityFrameworkCore.Tests.csproj
-
samples/MicroserviceDemo/modules/product/test/ProductManagement.EntityFrameworkCore.Tests/ProductManagement/EntityFrameworkCore/ProductManagementEntityFrameworkCoreTestModule.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.DbMigrator/MyCompanyName.MyProjectName.DbMigrator.csproj
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore.DbMigrations/MyCompanyName.MyProjectName.EntityFrameworkCore.DbMigrations.csproj
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/MyCompanyName.MyProjectName.HttpApi.Host.csproj
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/MyCompanyName.MyProjectName.HttpApi.HostWithIds.csproj
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/MyCompanyName.MyProjectName.IdentityServer.csproj
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/MyCompanyName.MyProjectName.Web.csproj
-
templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs
-
templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests.csproj
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.HttpApi.Host/MyCompanyName.MyProjectName.HttpApi.Host.csproj
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.IdentityServer/MyCompanyName.MyProjectName.IdentityServer.csproj
-
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/MyCompanyName.MyProjectName.Web.Unified.csproj
-
templates/module/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs
-
templates/module/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests.csproj
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -20,8 +20,8 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.4" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -14,9 +14,8 @@ |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.Auditing\Volo.Abp.Auditing.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.EntityFrameworkCore\Volo.Abp.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
<ProjectReference Include="..\AbpTestBase\AbpTestBase.csproj" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -7,6 +7,7 @@ using Volo.Abp.Auditing.App.Entities; |
|
|
|
using Volo.Abp.Auditing.App.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.Auditing |
|
|
|
@ -14,7 +15,7 @@ namespace Volo.Abp.Auditing |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpTestBaseModule), |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
typeof(AbpEntityFrameworkCoreModule) |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpAuditingTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -14,7 +14,6 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.Dapper |
|
|
|
@ -7,11 +8,10 @@ namespace Volo.Abp.Dapper |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpEntityFrameworkCoreTestModule), |
|
|
|
typeof(AbpDapperModule), |
|
|
|
typeof(AbpAutofacModule))] |
|
|
|
typeof(AbpAutofacModule) |
|
|
|
)] |
|
|
|
public class AbpDapperTestModule : AbpModule |
|
|
|
{ |
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@ -9,14 +9,13 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.EntityFrameworkCore\Volo.Abp.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
<ProjectReference Include="..\AbpTestBase\AbpTestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.EntityFrameworkCore.Tests.SecondContext\Volo.Abp.EntityFrameworkCore.Tests.SecondContext.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.TestApp\Volo.Abp.TestApp.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -6,6 +6,7 @@ using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Domain; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.EntityFrameworkCore.TestApp.SecondContext; |
|
|
|
using Volo.Abp.EntityFrameworkCore.TestApp.ThirdDbContext; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
@ -16,7 +17,7 @@ using Volo.Abp.Timing; |
|
|
|
|
|
|
|
namespace Volo.Abp.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn(typeof(AbpEntityFrameworkCoreModule))] |
|
|
|
[DependsOn(typeof(AbpEntityFrameworkCoreSqliteModule))] |
|
|
|
[DependsOn(typeof(TestAppModule))] |
|
|
|
[DependsOn(typeof(AbpAutofacModule))] |
|
|
|
[DependsOn(typeof(AbpEfCoreTestSecondContextModule))] |
|
|
|
|
|
|
|
@ -7,9 +7,7 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
<PackageReference Include="NSubstitute" Version="4.2.1" /> |
|
|
|
<PackageReference Include="Shouldly" Version="3.0.2" /> |
|
|
|
<PackageReference Include="xunit" Version="2.4.1" /> |
|
|
|
@ -21,6 +19,7 @@ |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.Authorization\Volo.Abp.Authorization.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.TestBase\Volo.Abp.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.Account.Application\Volo.Abp.Account.Application.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\identity\src\Volo.Abp.Identity.AspNetCore\Volo.Abp.Identity.AspNetCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\identity\src\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" /> |
|
|
|
|
|
|
|
@ -5,6 +5,7 @@ using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.Authorization; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Identity.AspNetCore; |
|
|
|
using Volo.Abp.Identity.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
@ -19,7 +20,8 @@ namespace Volo.Abp.Account |
|
|
|
typeof(AbpIdentityAspNetCoreModule), |
|
|
|
typeof(AbpAccountApplicationModule), |
|
|
|
typeof(AbpIdentityEntityFrameworkCoreModule), |
|
|
|
typeof(AbpPermissionManagementEntityFrameworkCoreModule) |
|
|
|
typeof(AbpPermissionManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpAccountApplicationTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.AuditLogging.EntityFrameworkCore\Volo.Abp.AuditLogging.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.AuditLogging.TestBase\Volo.Abp.AuditLogging.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -4,13 +4,15 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.AuditLogging.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpAuditLoggingTestBaseModule), |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule) |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpAuditLoggingEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
@ -20,9 +22,9 @@ namespace Volo.Abp.AuditLogging.EntityFrameworkCore |
|
|
|
|
|
|
|
Configure<AbpDbContextOptions>(options => |
|
|
|
{ |
|
|
|
options.Configure(abpDbContextConfigurationContext => |
|
|
|
options.Configure(ctx => |
|
|
|
{ |
|
|
|
abpDbContextConfigurationContext.DbContextOptions.UseSqlite(sqliteConnection); |
|
|
|
ctx.DbContextOptions.UseSqlite(sqliteConnection); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2"> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4"> |
|
|
|
<PrivateAssets>all</PrivateAssets> |
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
|
|
|
</PackageReference> |
|
|
|
|
|
|
|
@ -10,13 +10,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.BackgroundJobs.EntityFrameworkCore\Volo.Abp.BackgroundJobs.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.BackgroundJobs.TestBase\Volo.Abp.BackgroundJobs.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -4,13 +4,15 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.BackgroundJobs.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpBackgroundJobsTestBaseModule), |
|
|
|
typeof(AbpBackgroundJobsEntityFrameworkCoreModule) |
|
|
|
typeof(AbpBackgroundJobsEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpBackgroundJobsEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -18,8 +18,8 @@ |
|
|
|
<PackageReference Include="Serilog.AspNetCore" Version="3.2.0" /> |
|
|
|
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" /> |
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
{ |
|
|
|
|
|
|
|
@ -6,11 +6,13 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Blogging.EntityFrameworkCore\Volo.Blogging.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Blogging.TestBase\Volo.Blogging.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Blogging.Blogs; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Blogging.Comments; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
{ |
|
|
|
|
|
|
|
@ -4,14 +4,15 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
namespace Volo.Blogging.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(BloggingEntityFrameworkCoreModule), |
|
|
|
typeof(BloggingTestBaseModule) |
|
|
|
typeof(BloggingTestBaseModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class BloggingEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Blogging.Posts; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
using Volo.Blogging.Posts; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Volo.Blogging.Tagging; |
|
|
|
using Volo.Blogging.EntityFrameworkCore; |
|
|
|
using Volo.Blogging.Tagging; |
|
|
|
|
|
|
|
namespace Volo.Blogging |
|
|
|
{ |
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ |
|
|
|
<PackageReference Include="Serilog.AspNetCore" Version="3.2.0" /> |
|
|
|
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" /> |
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.1"> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.4"> |
|
|
|
<PrivateAssets>all</PrivateAssets> |
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
|
|
|
</PackageReference> |
|
|
|
|
|
|
|
@ -7,14 +7,13 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Docs.EntityFrameworkCore\Volo.Docs.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Docs.TestBase\Volo.Docs.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -3,13 +3,15 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Docs.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(DocsTestBaseModule), |
|
|
|
typeof(DocsEntityFrameworkCoreModule) |
|
|
|
typeof(DocsEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class DocsEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -10,13 +10,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.FeatureManagement.EntityFrameworkCore\Volo.Abp.FeatureManagement.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.FeatureManagement.TestBase\Volo.Abp.FeatureManagement.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -3,13 +3,15 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.FeatureManagement.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(FeatureManagementTestBaseModule), |
|
|
|
typeof(AbpFeatureManagementEntityFrameworkCoreModule) |
|
|
|
typeof(AbpFeatureManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpFeatureManagementEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -15,13 +15,12 @@ |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\permission-management\src\Volo.Abp.PermissionManagement.EntityFrameworkCore\Volo.Abp.PermissionManagement.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.Identity.TestBase\Volo.Abp.Identity.TestBase.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -3,6 +3,7 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.PermissionManagement.EntityFrameworkCore; |
|
|
|
|
|
|
|
@ -11,7 +12,8 @@ namespace Volo.Abp.Identity.EntityFrameworkCore |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpIdentityTestBaseModule), |
|
|
|
typeof(AbpPermissionManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpIdentityEntityFrameworkCoreModule) |
|
|
|
typeof(AbpIdentityEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpIdentityEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -15,11 +15,11 @@ |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.IdentityServer.EntityFrameworkCore\Volo.Abp.IdentityServer.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\modules\identity\src\Volo.Abp.Identity.EntityFrameworkCore\Volo.Abp.Identity.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.IdentityServer.TestBase\Volo.Abp.IdentityServer.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="NSubstitute" Version="4.2.1" /> |
|
|
|
<PackageReference Include="Shouldly" Version="3.0.2" /> |
|
|
|
<PackageReference Include="xunit" Version="2.4.1" /> |
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Identity.EntityFrameworkCore; |
|
|
|
using Volo.Abp.IdentityServer.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
@ -14,7 +15,8 @@ namespace Volo.Abp.IdentityServer |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpIdentityEntityFrameworkCoreModule), |
|
|
|
typeof(AbpIdentityServerEntityFrameworkCoreModule), |
|
|
|
typeof(AbpIdentityServerTestBaseModule) |
|
|
|
typeof(AbpIdentityServerTestBaseModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpIdentityServerTestEntityFrameworkCoreModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.4" /> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.4" /> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -14,12 +14,11 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.SettingManagement.EntityFrameworkCore\Volo.Abp.SettingManagement.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\Volo.Abp.SettingManagement.TestBase\Volo.Abp.SettingManagement.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -4,13 +4,15 @@ using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace Volo.Abp.SettingManagement.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpSettingManagementTestBaseModule), |
|
|
|
typeof(AbpSettingManagementEntityFrameworkCoreModule) |
|
|
|
typeof(AbpSettingManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpSettingManagementEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -14,12 +14,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\Volo.Abp.TenantManagement.TestBase\Volo.Abp.TenantManagement.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\src\Volo.Abp.TenantManagement.EntityFrameworkCore\Volo.Abp.TenantManagement.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.Uow; |
|
|
|
|
|
|
|
@ -11,7 +12,8 @@ namespace Volo.Abp.TenantManagement.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpTenantManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpTenantManagementTestBaseModule) |
|
|
|
typeof(AbpTenantManagementTestBaseModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class AbpTenantManagementEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="2.2.4" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
<PackageReference Include="Serilog.Sinks.Elasticsearch" Version="6.5.0" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -19,7 +19,7 @@ |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -6,7 +6,7 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore\Volo.Abp.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\ProductManagement.Domain\ProductManagement.Domain.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
@ -8,10 +8,9 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\ProductManagement.EntityFrameworkCore\ProductManagement.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\ProductManagement.TestBase\ProductManagement.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -3,13 +3,15 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace ProductManagement.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(ProductManagementTestBaseModule), |
|
|
|
typeof(ProductManagementEntityFrameworkCoreModule) |
|
|
|
typeof(ProductManagementEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class ProductManagementEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" /> |
|
|
|
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy\Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Serilog\Volo.Abp.AspNetCore.Serilog.csproj" /> |
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ |
|
|
|
<PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" /> |
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.MultiTenancy\Volo.Abp.AspNetCore.MultiTenancy.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj" /> |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
<PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
<PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" /> |
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -5,13 +5,15 @@ using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(MyProjectNameEntityFrameworkCoreDbMigrationsModule), |
|
|
|
typeof(MyProjectNameTestBaseModule) |
|
|
|
typeof(MyProjectNameTestBaseModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class MyProjectNameEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
@ -28,7 +30,10 @@ namespace MyCompanyName.MyProjectName.EntityFrameworkCore |
|
|
|
|
|
|
|
services.Configure<AbpDbContextOptions>(options => |
|
|
|
{ |
|
|
|
options.Configure(context => { context.DbContextOptions.UseSqlite(_sqliteConnection); }); |
|
|
|
options.Configure(context => |
|
|
|
{ |
|
|
|
context.DbContextOptions.UseSqlite(_sqliteConnection); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -10,12 +10,11 @@ |
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\src\MyCompanyName.MyProjectName.EntityFrameworkCore.DbMigrations\MyCompanyName.MyProjectName.EntityFrameworkCore.DbMigrations.csproj" /> |
|
|
|
<ProjectReference Include="..\MyCompanyName.MyProjectName.TestBase\MyCompanyName.MyProjectName.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy\Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.SqlServer\Volo.Abp.EntityFrameworkCore.SqlServer.csproj" /> |
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ |
|
|
|
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> |
|
|
|
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Authentication.JwtBearer\Volo.Abp.AspNetCore.Authentication.JwtBearer.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.csproj" /> |
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
<PackageReference Include="Serilog.AspNetCore" Version="3.2.0" /> |
|
|
|
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" /> |
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.3.1" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.2" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.Autofac\Volo.Abp.Autofac.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.SqlServer\Volo.Abp.EntityFrameworkCore.SqlServer.csproj" /> |
|
|
|
|
|
|
|
@ -3,13 +3,15 @@ using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
|
using Microsoft.EntityFrameworkCore.Storage; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.EntityFrameworkCore |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(MyProjectNameTestBaseModule), |
|
|
|
typeof(MyProjectNameEntityFrameworkCoreModule) |
|
|
|
typeof(MyProjectNameEntityFrameworkCoreModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqliteModule) |
|
|
|
)] |
|
|
|
public class MyProjectNameEntityFrameworkCoreTestModule : AbpModule |
|
|
|
{ |
|
|
|
|
|
|
|
@ -9,11 +9,10 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" /> |
|
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.4" /> |
|
|
|
<ProjectReference Include="..\..\src\MyCompanyName.MyProjectName.EntityFrameworkCore\MyCompanyName.MyProjectName.EntityFrameworkCore.csproj" /> |
|
|
|
<ProjectReference Include="..\MyCompanyName.MyProjectName.TestBase\MyCompanyName.MyProjectName.TestBase.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore.Sqlite\Volo.Abp.EntityFrameworkCore.Sqlite.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|