Click or drag to resize

MainGenerateIdentifier Method

Generates an identifier (for roles etc.) based on a sequence and a prefix.
Codemethod usageDescription
Designed to be used in a process only (Yes/No)No
Action Object (data object type)Any

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool GenerateIdentifier(
	CodeMethodInvokeContext context,
	string sequenceUIdStr,
	string prefix,
	int digits,
	out string result
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
sequenceUIdStr
Type: SystemString
UId of the sequence to be used for generating the identifier.
prefix
Type: SystemString
Prefix text.
digits
Type: SystemInt32
result
Type: SystemString
Generated identifier is returned here.

Return Value

Type: Boolean
See Also