dotnet/orleans

Is AdoNetStorage provider has 'DeleteStateOnClear' or any alternatives?

Aberta

#8.059 aberto em 25 de out. de 2022

 (2 comentários) (1 reação) (0 responsável)C# (2.123 forks)batch import
area-persistencehelp wanted

Métricas do repositório

Stars
 (10.777 estrelas)
Métricas de merge de PR
 (Mesclagem média 2d 2h) (64 fundiu PRs em 30d)

Description

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.

Guia do colaborador