---
title: "Class EntityLoadConfiguration"
slug: "sdk--stylelabs.m.framework.essentials.loadconfigurations.entityloadconfiguration"
abstract: ""
---
# Class EntityLoadConfiguration

Represents a loading configuration for loading entities.

## Inheritance

object

EntityLoadConfiguration

## Implements

[IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html)

## Namespace: StylelabsStylelabs.MStylelabs.M.FrameworkStylelabs.M.Framework.EssentialsLoadConfigurations

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public class EntityLoadConfiguration : IEntityLoadConfiguration
```

## Constructors

### EntityLoadConfiguration()

Initializes a new instance of the [EntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.entityloadconfiguration.html) class.

#### Declaration

```csharp
public EntityLoadConfiguration()
```

### EntityLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)

Initializes a new instance of the [EntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.entityloadconfiguration.html) class.

#### Declaration

```csharp
public EntityLoadConfiguration(ICultureLoadOption cultureOption, IPropertyLoadOption propertyOption, IRelationLoadOption relationOption)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ICultureLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.icultureloadoption.html) | cultureOption | Culture load option. |
| [IPropertyLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.ipropertyloadoption.html) | propertyOption | Property load option. |
| [IRelationLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.irelationloadoption.html) | relationOption | Relation load option. |

## Properties

### [CultureLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.cultureloadoption.html)

Gets or sets the culture load option.

#### Declaration

```csharp
public ICultureLoadOption CultureLoadOption { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [ICultureLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.icultureloadoption.html) |  |

### Default

Gets the entity in the default culture, with all properties and no relations.

#### Declaration

```csharp
public static IEntityLoadConfiguration Default { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) |  |

### DefaultCultureFull

Gets the entity in default culture, with all properties and all relations.

#### Declaration

```csharp
public static IEntityLoadConfiguration DefaultCultureFull { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) |  |

### Full

Gets the entity in all installed cultures, with all properties and all relations.

#### Declaration

```csharp
public static IEntityLoadConfiguration Full { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) |  |

### Minimal

Gets teh entity only with system entity properties.

#### Declaration

```csharp
public static IEntityLoadConfiguration Minimal { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) |  |

### [PropertyLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.propertyloadoption.html)

Gets or sets the property load option.

#### Declaration

```csharp
public IPropertyLoadOption PropertyLoadOption { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IPropertyLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.ipropertyloadoption.html) |  |

### [RelationLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.relationloadoption.html)

Gets or sets the relation load option.

#### Declaration

```csharp
public IRelationLoadOption RelationLoadOption { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [IRelationLoadOption](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadoptions.irelationloadoption.html) |  |

## Methods

### Builder()

Creates a [IEntityLoadConfigurationBuilder](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfigurationbuilder.html) from the current [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html). The builder can extend or overwrite the configuration of the current [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html).

#### Declaration

```csharp
public IEntityLoadConfigurationBuilder Builder()
```

#### Returns

| Type | Description |
| --- | --- |
| [IEntityLoadConfigurationBuilder](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfigurationbuilder.html) | The entity load configuration builder. |

### DeepClone()

Creates a deep clone of this instance.

#### Declaration

```csharp
public IEntityLoadConfiguration DeepClone()
```

#### Returns

| Type | Description |
| --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) | The entity load configuration. |

### DeepEquals(IEntityLoadConfiguration)

Checks if this instance of [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) is equal to `other`.

#### Declaration

```csharp
public bool DeepEquals(IEntityLoadConfiguration other)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html) | other | The entity load configuration. |

#### Returns

| Type | Description |
| --- | --- |
| bool | langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |

### Implements

[IEntityLoadConfiguration](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.framework.essentials.loadconfigurations.ientityloadconfiguration.html)
