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
Constructors
FluentEntityFactory(IEntityFactory, IEntitiesClient, IEntityLoadConfiguration)
Initializes a new instance of the FluentEntityFactory class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityFactory | entityFactory | The entity factory. |
| IEntitiesClient | entitiesClient | The entity client. |
| IEntityLoadConfiguration | entityLoadConfiguration | The load configuration. |
Methods
Create(FluentEntityDefinition)
Creates a new entity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| FluentEntityDefinition | definition | The entity definition. |
Returns
| Type | Description |
|---|---|
| FluentEntity | The newly created entity. |
Create(string)
Creates a new entity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | definitionName | The entity definition name. |
Returns
| Type | Description |
|---|---|
| FluentEntity | The newly created entity. |
If you have suggestions for improving this article, let us know!