Browse Source

[fix]整理EfCore项目

master
贾荣国 3 years ago
parent
commit
4732ef9da3
  1. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/IWebApiDbContext.cs
  2. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/WebApiDbContext.cs
  3. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/WebApiDbContextFactory.cs
  4. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/PartRepository.cs
  5. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/PurchaseOrderRepository.cs
  6. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/ReceiptRepository.cs
  7. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/SupplierRepository.cs
  8. 0
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/UnplannedReceiptRepository.cs
  9. 7
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/WebApiEntityFrameworkCoreModule.cs
  10. 1
      WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore.csproj
  11. 2
      WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/IWebApiDbContext.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/IWebApiDbContext.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/WebApiDbContext.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/WebApiDbContext.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/WebApiDbContextFactory.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/DbContext/WebApiDbContextFactory.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/PartRepository.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/PartRepository.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/PurchaseOrderRepository.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/PurchaseOrderRepository.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/ReceiptRepository.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/ReceiptRepository.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/SupplierRepository.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/SupplierRepository.cs

0
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/UnplannedReceiptRepository.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Repositories/UnplannedReceiptRepository.cs

7
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/EntityFrameworkCore/WebApiEntityFrameworkCoreModule.cs → WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/WebApiEntityFrameworkCoreModule.cs

@ -12,9 +12,12 @@ using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.TenantManagement.EntityFrameworkCore;
using Win_in.Sfs.Scp.v1.Event;
using Win_in.Sfs.Scp.WebApi.EntityFrameworkCore;
// using Win_in.Sfs.Scp.v1.Event;
namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore
namespace Win_in.Sfs.Scp.WebApi
{
[DependsOn(
typeof(WebApiDomainModule),
@ -28,7 +31,7 @@ namespace Win_in.Sfs.Scp.WebApi.EntityFrameworkCore
typeof(AbpTenantManagementEntityFrameworkCoreModule),
typeof(AbpFeatureManagementEntityFrameworkCoreModule)
)]
// [DependsOn(typeof(V1ScpEventModule))]
[DependsOn(typeof(V1ScpEventModule))]
public class WebApiEntityFrameworkCoreModule : AbpModule
{
public override void PreConfigureServices(ServiceConfigurationContext context)

1
WebApiService/src/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore/Win_in.Sfs.Scp.WebApi.EntityFrameworkCore.csproj

@ -8,6 +8,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Win_in.Sfs.Scp.v1.Event\Win_in.Sfs.Scp.v1.Event.csproj" />
<ProjectReference Include="..\Win_in.Sfs.Scp.WebApi.Domain\Win_in.Sfs.Scp.WebApi.Domain.csproj" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.4.2" />
<PackageReference Include="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="4.4.2" />

2
WebApiService/src/Win_in.Sfs.Scp.WebApi.HttpApi.Host/appsettings.json

@ -38,5 +38,5 @@
}
}
},
"AlwaysAllowAuthorization": false
"AlwaysAllowAuthorization": true
}
Loading…
Cancel
Save