Interface IEntityDefinitionCache

Current 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)

Declaration
RequestResponse
IEntityDefinition Get(long id)
Parameters
TypeNameDescription
longid

The id of the entity definition.

Returns

Get(string)

Declaration
RequestResponse
IEntityDefinition Get(string definitionName)
Parameters
TypeNameDescription
stringdefinitionName

The name of the entity definition.

Returns

Invalidate(long)

Invalidates a cache entry.

Declaration
RequestResponse
void Invalidate(long id)
Parameters
TypeNameDescription
longid

The id of the entity definition.

Invalidate(string)

Invalidates a cache entry.

Declaration
RequestResponse
void Invalidate(string definitionName)
Parameters
TypeNameDescription
stringdefinitionName

The name of the entity definition.

Load(IEntityDefinition)

Loads an IEntityDefinition.

Declaration
RequestResponse
void Load(IEntityDefinition entityDefinition)
Parameters
TypeNameDescription
IEntityDefinitionentityDefinition

The IEntityDefinition.

Do you have some feedback for us?

If you have suggestions for improving this article,