dotnet/orleans

Is AdoNetStorage provider has 'DeleteStateOnClear' or any alternatives?

Open

#8,059 创建于 2022年10月25日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)C# (2,123 fork)batch import
area-persistencehelp wanted

仓库指标

Star
 (10,777 star)
PR 合并指标
 (平均合并 2天 2小时) (30 天内合并 64 个 PR)

描述

Hello,

We use SQL Server in our system, hence we use AdoNetStorage provider for persistence according documentation: https://learn.microsoft.com/en-us/dotnet/orleans/grains/grain-persistence/relational-storage

When we trying to clear state using "ClearStateAsync" with AdoNet storage provider it just NULL state of the record in database w/o removing it.

Does MS Orleans have any ways to completely remove a record from a SQL Server database?

I see Azure storage provider has option 'DeleteStateOnClear', but AdoNet not.

贡献者指南