# ArchiveRow

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.archiverow/
> Summary: ArchiveRow: The JSON representation of a single row to write to the archive.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

The JSON representation of a single row to write to the archive.

```csharp
public sealed record ArchiveRow : IEquatable<ArchiveRow>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.archiverow/">ArchiveRow</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;ArchiveRow&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

The row carries no schema information: column names and values sit
directly inside a JSON object (one line of JSONL). This way, archiving
does not need to know the target's column set ahead of time.

## Constructors

### <a id="Tracon_ArchiveRow__ctor"></a> ArchiveRow\(\)

```csharp
public ArchiveRow()
```

## Properties

### <a id="Tracon_ArchiveRow_Json"></a> Json

The row's single-line JSON representation (has no trailing newline).

```csharp
public required string Json { get; init; }
```

#### Property Value

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

### <a id="Tracon_ArchiveRow_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ArchiveRow_Equals_Tracon_ArchiveRow_"></a> Equals\(ArchiveRow?\)

```csharp
public bool Equals(ArchiveRow? other)
```

#### Parameters

`other` [ArchiveRow](/api/tracon.archiverow/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ArchiveRow_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_ArchiveRow_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

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

### <a id="Tracon_ArchiveRow_op_Equality_Tracon_ArchiveRow_Tracon_ArchiveRow_"></a> operator ==\(ArchiveRow?, ArchiveRow?\)

```csharp
public static bool operator ==(ArchiveRow? left, ArchiveRow? right)
```

#### Parameters

`left` [ArchiveRow](/api/tracon.archiverow/)?

`right` [ArchiveRow](/api/tracon.archiverow/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ArchiveRow_op_Inequality_Tracon_ArchiveRow_Tracon_ArchiveRow_"></a> operator \!=\(ArchiveRow?, ArchiveRow?\)

```csharp
public static bool operator !=(ArchiveRow? left, ArchiveRow? right)
```

#### Parameters

`left` [ArchiveRow](/api/tracon.archiverow/)?

`right` [ArchiveRow](/api/tracon.archiverow/)?

#### Returns

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