mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 DbContextOptions.EnableGlobalFilter 设置是否在 DbContext/Repository 中启用全局过滤器;
This commit is contained in:
@ -27,6 +27,11 @@ namespace FreeSql
|
||||
/// </summary>
|
||||
public bool? NoneParameter { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否开启 IFreeSql GlobalFilter 功能(默认:true)
|
||||
/// </summary>
|
||||
public bool EnableGlobalFilter { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 实体变化事件
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user