Skip to main content
Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for create entity class.

Inheritance

object ← CreateAPI

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

Create<T>(IDocument, string, Func<string, T>)

Create Entity.

Parameters

document IDocument The document to create the entity. name string The name of the entity. funcCreate Func<string, T> The customized create function.

Returns

T The new entity that is created by this API.

Type Parameters

T The entity type

Exceptions

ArgumentNullException Will be thrown if ‘document’ or ‘name’ arguments are null.