createCode MethodStatic

Create a Code for a Subject given a name that is meant to be unique within the scope of its parent Subject.

createCode(iModelDb: IModelDb, parentSubjectId: CodeScopeProps, codeValue: string): Code

Parameter Type Description
iModelDb IModelDb The IModelDb
parentSubjectId CodeScopeProps The Id of the parent Subject that provides the scope for names of its child Subjects.
codeValue string The child Subject name

Defined in

Last Updated: 08 January, 2020