Class FluentEntityFactory

Provides access to the entity factory in a fluent way.

Inheritance
object
FluentEntityFactory
Namespace: StylelabsStylelabs.MSdkFluentWrappers
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
RequestResponse
public class FluentEntityFactory

Constructors

FluentEntityFactory(IEntityFactory, IEntitiesClient, IEntityLoadConfiguration)

Initializes a new instance of the FluentEntityFactory class.

Declaration
RequestResponse
public FluentEntityFactory(IEntityFactory entityFactory, IEntitiesClient entitiesClient, IEntityLoadConfiguration entityLoadConfiguration)
Parameters
TypeNameDescription
IEntityFactoryentityFactory

The entity factory.

IEntitiesCliententitiesClient

The entity client.

IEntityLoadConfigurationentityLoadConfiguration

The load configuration.

Methods

Create(FluentEntityDefinition)

Creates a new entity.

Declaration
RequestResponse
public FluentEntity Create(FluentEntityDefinition definition)
Parameters
TypeNameDescription
FluentEntityDefinitiondefinition

The entity definition.

Returns
TypeDescription
FluentEntity

The newly created entity.

Create(string)

Creates a new entity.

Declaration
RequestResponse
public FluentEntity Create(string definitionName)
Parameters
TypeNameDescription
stringdefinitionName

The entity definition name.

Returns
TypeDescription
FluentEntity

The newly created entity.

Do you have some feedback for us?

If you have suggestions for improving this article,