Interface IEntityDefinitionCache
Defines an entity definition cache.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
Get(long)
Gets an IEntityDefinition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| long | id | The id of the entity definition. |
Returns
| Type | Description |
|---|---|
| IEntityDefinition | An IEntityDefinition. |
Get(string)
Gets an IEntityDefinition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | definitionName | The name of the entity definition. |
Returns
| Type | Description |
|---|---|
| IEntityDefinition | An IEntityDefinition. |
Invalidate(long)
Invalidates a cache entry.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| long | id | The id of the entity definition. |
Invalidate(string)
Invalidates a cache entry.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | definitionName | The name of the entity definition. |
Load(IEntityDefinition)
Loads an IEntityDefinition.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityDefinition | entityDefinition | The IEntityDefinition. |
If you have suggestions for improving this article, let us know!