Class EntityLoadConfiguration
Represents a loading configuration for loading entities.
Inheritance
object
EntityLoadConfiguration
Implements
Namespace: StylelabsStylelabs.MStylelabs.M.FrameworkStylelabs.M.Framework.EssentialsLoadConfigurations
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
EntityLoadConfiguration()
Initializes a new instance of the EntityLoadConfiguration class.
Declaration
EntityLoadConfiguration(ICultureLoadOption, IPropertyLoadOption, IRelationLoadOption)
Initializes a new instance of the EntityLoadConfiguration class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| ICultureLoadOption | cultureOption | Culture load option. |
| IPropertyLoadOption | propertyOption | Property load option. |
| IRelationLoadOption | relationOption | Relation load option. |
Properties
Gets or sets the culture load option.
Declaration
Property Value
| Type | Description |
|---|---|
| ICultureLoadOption |
Default
Gets the entity in the default culture, with all properties and no relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityLoadConfiguration |
DefaultCultureFull
Gets the entity in default culture, with all properties and all relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityLoadConfiguration |
Full
Gets the entity in all installed cultures, with all properties and all relations.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityLoadConfiguration |
Minimal
Gets teh entity only with system entity properties.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityLoadConfiguration |
Gets or sets the property load option.
Declaration
Property Value
| Type | Description |
|---|---|
| IPropertyLoadOption |
Gets or sets the relation load option.
Declaration
Property Value
| Type | Description |
|---|---|
| IRelationLoadOption |
Methods
Builder()
Creates a IEntityLoadConfigurationBuilder from the current IEntityLoadConfiguration. The builder can extend or overwrite the configuration of the current IEntityLoadConfiguration.
Declaration
Returns
| Type | Description |
|---|---|
| IEntityLoadConfigurationBuilder | The entity load configuration builder. |
DeepClone()
Creates a deep clone of this instance.
Declaration
Returns
| Type | Description |
|---|---|
| IEntityLoadConfiguration | The entity load configuration. |
DeepEquals(IEntityLoadConfiguration)
Checks if this instance of IEntityLoadConfiguration is equal to other.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityLoadConfiguration | other | The entity load configuration. |
Returns
| Type | Description |
|---|---|
| bool | langword_csharp_True if the instances are equal; otherwise langword_csharp_False. |