dotnet/orleans

Is AdoNetStorage provider has 'DeleteStateOnClear' or any alternatives?

開放

#8,059 建立於 2022年10月25日

 (2 則留言) (1 個反應) (0 位負責人)C# (2,123 個分叉)batch import
area-persistencehelp wanted

倉庫指標

星標
 (10,777 顆星)
PR 合併指標
 (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.

貢獻者指南