# AzureTableTransactionalStateStorageFactory Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.azurestorage/orleans.transactions.azurestorage.azuretabletransactionalstatestoragefactory/)

## Create(string, IGrainContext) {#create-1-string-orleans-runtime-igraincontext-3f77a9e8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.azurestorage/orleans.transactions.azurestorage.azuretabletransactionalstatestoragefactory/methods/create-1-string-orleans-runtime-igraincontext-3f77a9e8/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorageFactory.cs#L42-L43)

```csharp
public ITransactionalStateStorage<TState> Create<TState>(string stateName, IGrainContext context)
```

### Parameters

- `stateName` (`string`)
- `context` (`IGrainContext`)

## Create(IServiceProvider, string) {#create-system-iserviceprovider-string-55e587c4}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.azurestorage/orleans.transactions.azurestorage.azuretabletransactionalstatestoragefactory/methods/create-system-iserviceprovider-string-55e587c4/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorageFactory.cs#L27-L28)

```csharp
public static ITransactionalStateStorageFactory Create(IServiceProvider services, string name)
```

### Parameters

- `services` (`IServiceProvider`)
- `name` (`string`)

## Participate(ISiloLifecycle) {#participate-orleans-runtime-isilolifecycle-221f8a3b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions.azurestorage/orleans.transactions.azurestorage.azuretabletransactionalstatestoragefactory/methods/participate-orleans-runtime-isilolifecycle-221f8a3b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorageFactory.cs#L48-L49)

```csharp
public void Participate(ISiloLifecycle lifecycle)
```

Adds the provided observer as a participant in the lifecycle.

### Parameters

- `lifecycle` (`ISiloLifecycle`): The observer.
