API Reference > imodeljs-backend > iModels > ConcurrencyControl.Codes ConcurrencyControl.Codes Class Code manager Methods Name Description constructor(_iModel: IModelDb): ConcurrencyControl.Codes query(requestContext: AuthorizedClientRequestContext, specId: Id64String, scopeId: string, value?: string): Promise<HubCode[]> Queries the state of the specified Codes in the code service. reserve(requestContext: AuthorizedClientRequestContext, codes?: CodeProps[]): Promise<void> Reserve Codes. Defined in core/backend/src/ConcurrencyControl.ts Line 902 Last Updated: 13 June, 2024