Skip to content

Commit be5ede0

Browse files
committed
feat: 增加 UseCache 参数
1 parent 2b1ab85 commit be5ede0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BootstrapBlazor/Dynamic/DataTableDynamicContext.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ public class DataTableDynamicContext : DynamicObjectContext
2828

2929
private Action<DataTableDynamicContext, ITableColumn>? AddAttributesCallback { get; set; }
3030

31+
/// <summary>
32+
/// 获得/设置 是否启用内部缓存 默认 true 启用
33+
/// </summary>
34+
public bool UseCache { get; set; } = true;
35+
3136
/// <summary>
3237
/// 负责将 DataRow 与 Items 关联起来方便查找提高效率
3338
/// </summary>

0 commit comments

Comments
 (0)