Class TieAPI
Last update: 16.07.2025Namespace: VM.API.Pre.FE
Assembly: VM.API.Pre.FE.dll
This class implements APIs for
public static class TieAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CreateTie(IDocument, Obj, Obj, string)
Create
[NotNull(new string[] { "document" })]
[NotNullObj(new string[] { "baseContactable", "actionContactable" })]
[MatchTypeObj(new object[] { "baseContactable", typeof(IContactable), "actionContactable", typeof(IContactable) })]
public static Obj CreateTie(this IDocument document, Obj baseContactable, Obj actionContactable, string tieName = "")
Parameters
document IDocument
The document to create the tie.
baseContactable Obj
The base contactable object.
actionContactable Obj
The action contactable object.
tieName string
The name of the tie. If empty, default name starts with 'TIE_' will be generated and used.
Returns
Obj
The new
Exceptions
Will be thrown if 'document' or 'baseContactable' or 'actionContactable' arguments are empty.