这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
cKey dffe7ffe4e Fixed the retry mechanism in webhooks and tasks modules 3 years ago
..
LINGYUN.Abp.Dynamic.Queryable.Application Fixed the retry mechanism in webhooks and tasks modules 3 years ago
LINGYUN.Abp.Dynamic.Queryable.Application.Contracts Fixed the retry mechanism in webhooks and tasks modules 3 years ago
LINGYUN.Abp.Dynamic.Queryable.HttpApi fix(dynamic-quertable): 当用户方法与动态查询重名时, 自动api端点不会创建多个端点. 3 years ago
LINGYUN.Linq.Dynamic.Queryable fix(type): fix nullable-type-match 3 years ago
README.md add support dynamic query interface 3 years ago

README.md

Dynamic.Queryable

动态查询支持库, 为以后台服务提供动态查询支持

  • 应用程序接口定义层引用LINGYUN.Abp.Dynamic.Queryable.Application.Contracts模块, 实现IDynamicQueryableAppService接口可对外提供动态查询支持

  • 应用程序接口实现层引用LINGYUN.Abp.Dynamic.Queryable.Application模块,继承自DynamicQueryableAppService接口,实现GetCountAsyncGetListAsync方法即可(为仓储层接口提供传递的**Expression<Func<TEntity, bool>>**结构)

  • 控制器层引用LINGYUN.Abp.Dynamic.Queryable.HttpApi模块,继承DynamicQueryableControllerBase接口,自动公开动态查询接口。

接口说明

  • GetAvailableFieldsAsync([GET] /{controller}/available-fields): 对外提供可选的属性明细, 默认返回所有字段(不包含已定义的排除字段).

  • GetListAsync([POST] /{controller}/search): 根据用户传递的动态条件返回查询结果列表.

配置使用

  • AbpDynamicQueryableOptions.IgnoreFields: 定义不对用户公开的字段列表,默认排除租户标识、软删除过滤器接口字段.