> ## 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.Data.CacheInvalidation

# <a id="SuperOffice_WebApi_Data_CacheInvalidation" /> Class CacheInvalidation

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

Carrier object for CacheInvalidation.

```csharp theme={null}
public class CacheInvalidation
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[CacheInvalidation](SuperOffice.WebApi.Data.CacheInvalidation.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_CacheInvalidation__ctor" /> CacheInvalidation()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public CacheInvalidation()
```

## Properties

### <a id="SuperOffice_WebApi_Data_CacheInvalidation_Generation" /> Generation

The 'generation number', starts at 1 and goes up for every registered change

```csharp theme={null}
public virtual int Generation { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_CacheInvalidation_Name" /> Name

The (unique!) name of the cache, which is often, but not always, the same as a physical table name

```csharp theme={null}
public virtual string Name { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[DiagnosticsAgent](SuperOffice.WebApi.Agents.DiagnosticsAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.DiagnosticsAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DiagnosticsAgent.md)
- [SuperOffice.WebApi.Agents.IDiagnosticsAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IDiagnosticsAgent.md)
- [SuperOffice.WebApi.Data.Diagnostics GetCacheInvalidationGenerationsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Diagnostics_GetCacheInvalidationGenerationsRequest.md)
- [SuperOffice.WebApi.Agents.IConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IConfigurationAgent.md)
- [SuperOffice.WebApi.Agents.ConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ConfigurationAgent.md)
- [SuperOffice.WebApi.Data.Cache](/en/api/reference/webapi/SuperOffice.WebApi.Data.Cache.md)
