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

# EntityTypeBuilder

> Extension methods for EntityTypeBuilder from Microsoft.EntityFrameworkCore

## Definition

**Assembly:** Microsoft.EntityFrameworkCore.dll

**Namespace:** Microsoft.EntityFrameworkCore.Metadata.Builders

## Syntax

```csharp theme={"dark"}
Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<T> where T : CloudNimble.EasyAF.Core.DbObservableObject
```

## Summary

This type is defined in Microsoft.EntityFrameworkCore.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.metadata.builders.entitytypebuilder\{t}) for more information about the rest of the API.

## Methods

### <Icon icon="puzzle-piece" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> IgnoreTrackingFields <Badge color="green">Extension</Badge>

<Note>Extension method from `Microsoft.EntityFrameworkCore.Metadata.Builders.DataEFCore_EntityTypeBuilderExtensions`</Note>

Configures the entity type to ignore tracking fields defined in the [DbObservableObject](/api-reference/CloudNimble/EasyAF/Core/DbObservableObject) class.

#### Syntax

```csharp theme={"dark"}
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<T> IgnoreTrackingFields<T>(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<T> builder) where T : CloudNimble.EasyAF.Core.DbObservableObject
```

#### Parameters

| Name      | Type                                                                   | Description                                                                                                                                                               |
| --------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `builder` | `Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<T>` | The [EntityTypeBuilder\`1](https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.metadata.builders.entitytypebuilder-1) used to configure the entity type. |

#### Returns

Type: `Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<T>`
The same [EntityTypeBuilder\`1](https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.metadata.builders.entitytypebuilder-1) instance so that multiple calls can be chained.

#### Type Parameters

* `T` - The type of the entity being configured.
