Interface IEntityDefinitionCache
Version: 4.0
Defines an entity definition cache.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IEntityDefinitionCache
Methods
Get(long)
Gets an IEntityDefinition.
Declaration
RequestResponse
IEntityDefinition Get(long id)
Parameters
Type | Name | Description |
---|---|---|
long | id |
The id of the entity definition. |
Returns
Type | Description |
---|---|
IEntityDefinition |
Get(string)
Gets an IEntityDefinition.
Declaration
RequestResponse
IEntityDefinition Get(string definitionName)
Parameters
Type | Name | Description |
---|---|---|
string | definitionName |
The name of the entity definition. |
Returns
Type | Description |
---|---|
IEntityDefinition |
Invalidate(long)
Invalidates a cache entry.
Declaration
RequestResponse
void Invalidate(long id)
Parameters
Type | Name | Description |
---|---|---|
long | id |
The id of the entity definition. |
Invalidate(string)
Invalidates a cache entry.
Declaration
RequestResponse
void Invalidate(string definitionName)
Parameters
Type | Name | Description |
---|---|---|
string | definitionName |
The name of the entity definition. |
Load(IEntityDefinition)
Loads an IEntityDefinition.
Declaration
RequestResponse
void Load(IEntityDefinition entityDefinition)
Parameters
Type | Name | Description |
---|---|---|
IEntityDefinition | entityDefinition |
The IEntityDefinition. |