logo
logo

Class FluentEntityFactory

Provides access to the entity factory in a fluent way.

Inheritance
System.Object
FluentEntityFactory
Namespace: Stylelabs.M.Sdk.Fluent.Wrappers
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
public class FluentEntityFactory : object

Constructors

FluentEntityFactory(IEntityFactory, IEntitiesClient, IEntityLoadConfiguration)

Initializes a new instance of the FluentEntityFactory class.

Declaration
public FluentEntityFactory(IEntityFactory entityFactory, IEntitiesClient entitiesClient, IEntityLoadConfiguration entityLoadConfiguration)
Parameters
Type Name Description
IEntityFactory entityFactory
IEntitiesClient entitiesClient
IEntityLoadConfiguration entityLoadConfiguration

Methods

Create(FluentEntityDefinition)

Creates a new entity.

Declaration
public FluentEntity Create(FluentEntityDefinition definition)
Parameters
Type Name Description
FluentEntityDefinition definition

The entity definition.

Returns
Type Description
FluentEntity

The newly created entity.

Create(String)

Creates a new entity.

Declaration
public FluentEntity Create(string definitionName)
Parameters
Type Name Description
System.String definitionName

The entity definition name.

Returns
Type Description
FluentEntity

The newly created entity.

Can we improve this article ? Provide feedback