---
title: "Class EntityLoadOption"
slug: "js-sdk--entityloadoption"
abstract: ""
---
# Class EntityLoadOption

Specifies if and how resulting entities should be loaded.

## Constructors

### EntityLoadOption()

#### Declaration

```csharp
new EntityLoadOption()
```

### Members

### propertiesToLoad

The names of the properties to load with the entities. If the value contains "\*", all properties will be loaded. If the value is null, no properties will be loaded.

The default value is \["\*"\], which means all properties will be loaded.

#### Declaration

```csharp
propertiesToLoad
```

### relationsToLoad

The names of the relations to load with the entities. If the value is null, no relations will be loaded.

The default value is null, which mean no relations will be loaded.

#### Declaration

```csharp
relationsToLoad
```
