dotnet/orleans

Is AdoNetStorage provider has 'DeleteStateOnClear' or any alternatives?

Open

#8059 aperta il 25 ott 2022

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)C# (2123 fork)batch import
area-persistencehelp wanted

Metriche repository

Star
 (10.777 star)
Metriche merge PR
 (Merge medio 2g 2h) (64 PR mergiate in 30 g)

Descrizione

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.

Guida contributor