> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Agents.IDatabaseAgent

# \<a id="SuperOffice\_WebApi\_Agents\_IDatabaseAgent">\</a> Interface IDatabaseAgent

Namespace: [SuperOffice.WebApi.Agents](SuperOffice.WebApi.Agents.md)\
Assembly: SuperOffice.WebApi.dll

Database schema queries and changes

```csharp theme={null}
public interface IDatabaseAgent : IAgentBase, IDisposable
```

#### Implements

[IAgentBase](SuperOffice.WebApi.Agents.IAgentBase.md),
[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

## Methods

### \<a id="SuperOffice\_WebApi\_Agents\_IDatabaseAgent\_GetStepsFromNetServerCodeAsync\_SuperOffice\_WebApi\_RequestOptions\_">\</a> GetStepsFromNetServerCodeAsync(RequestOptions)

Get information about the dictionary steps that NetServer was generated for

```csharp theme={null}
Task<DictionaryStepInformation[]> GetStepsFromNetServerCodeAsync(RequestOptions requestOptions = null)
```

#### Parameters

`requestOptions` [RequestOptions](SuperOffice.WebApi.RequestOptions.md)

Override language/culture codes on this request.

#### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[DictionaryStepInformation](SuperOffice.WebApi.Data.DictionaryStepInformation.md)\[]\&gt;

Array of dictionary steps used when NetServer was generated, listing only the highest number for each step

### \<a id="SuperOffice\_WebApi\_Agents\_IDatabaseAgent\_GetStepsInDatabaseAsync\_SuperOffice\_WebApi\_RequestOptions\_">\</a> GetStepsInDatabaseAsync(RequestOptions)

Get information about the dictionary steps that are in the currently-loggedon database

```csharp theme={null}
Task<DictionaryStepInformation[]> GetStepsInDatabaseAsync(RequestOptions requestOptions = null)
```

#### Parameters

`requestOptions` [RequestOptions](SuperOffice.WebApi.RequestOptions.md)

Override language/culture codes on this request.

#### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[DictionaryStepInformation](SuperOffice.WebApi.Data.DictionaryStepInformation.md)\[]\&gt;

Array of dictionary steps in the database, listing only the highest number for each step


## Related topics

- [SuperOffice.WebApi.Agents.DatabaseAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DatabaseAgent.md)
- [SuperOffice.WebApi.Agents](/en/api/reference/webapi/SuperOffice.WebApi.Agents.md)
- [SuperOffice.WebApi.Agents.DatabaseTableAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DatabaseTableAgent.md)
- [SuperOffice.WebApi.Agents.IDatabaseTableAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IDatabaseTableAgent.md)
- [SuperOffice.WebApi.Agents.EMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.EMailAgent.md)
- [SuperOffice.WebApi.Agents.IEMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IEMailAgent.md)
