Skip to content

StorageProviderAttribute Properties

The [Orleans.Providers.StorageProvider] attribute is used to define which storage provider to use for persistence of grain state.

Specifying [Orleans.Providers.StorageProvider] property is recommended for all grains which extend Grain<T>. If no [Orleans.Providers.StorageProvider] attribute is specified, then a "Default" storage provider will be used. If a suitable storage provider cannot be located for this grain, then the grain will fail to load into the Silo.

ProviderName

getset
View source
public string ProviderName
Gets or sets the name of the provider to be used for persisting of grain state.