Browse Source
Merge pull request #15915 from abpframework/auto-merge/rel-7-0/1787
Merge branch rel-7.1 with rel-7.0
pull/15916/head
liangshiwei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
14 additions and
1 deletions
-
docs/en/UI/Angular/List-Service.md
-
templates/app/aspnet-core/test/MyCompanyName.MyProjectName.EntityFrameworkCore.Tests/EntityFrameworkCore/MyProjectNameEntityFrameworkCoreTestModule.cs
|
|
|
@ -201,4 +201,4 @@ You may use observables in combination with [AsyncPipe](https://angular.io/guide |
|
|
|
|
|
|
|
<input type="text" name="search" [(ngModel)]="list.filter"> |
|
|
|
``` |
|
|
|
ABP doesn't have a built-in filtering mechanism. You need to implement yourself and handle `filter` property in backend. |
|
|
|
ABP doesn't have a built-in filtering mechanism. You need to implement it yourself and handle the `filter` property in the backend. |
|
|
|
|
|
|
|
@ -6,7 +6,9 @@ using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
using Volo.Abp.EntityFrameworkCore.Sqlite; |
|
|
|
using Volo.Abp.FeatureManagement; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Volo.Abp.PermissionManagement; |
|
|
|
using Volo.Abp.Uow; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.EntityFrameworkCore; |
|
|
|
@ -22,7 +24,18 @@ public class MyProjectNameEntityFrameworkCoreTestModule : AbpModule |
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
Configure<FeatureManagementOptions>(options => |
|
|
|
{ |
|
|
|
options.SaveStaticFeaturesToDatabase = false; |
|
|
|
options.IsDynamicFeatureStoreEnabled = false; |
|
|
|
}); |
|
|
|
Configure<PermissionManagementOptions>(options => |
|
|
|
{ |
|
|
|
options.SaveStaticPermissionsToDatabase = false; |
|
|
|
options.IsDynamicPermissionStoreEnabled = false; |
|
|
|
}); |
|
|
|
context.Services.AddAlwaysDisableUnitOfWorkTransaction(); |
|
|
|
|
|
|
|
ConfigureInMemorySqlite(context.Services); |
|
|
|
} |
|
|
|
|
|
|
|
|