Home > Class Reference > ENSLIB namespace > %BI.CodeTable
Private  Storage   

%BI.CodeTable


persistent class %BI.CodeTable extends
%Persistent

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 1


Summary


Properties
Code Data Type

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject


Properties


• property Code as %String(TRUNCATE=1);
• property Data as %List;
• property Type as %String(TRUNCATE=1);

Queries


• query ByType(Type As %String)
SQL Query :
SELECT Code,Data FROM CodeTable
WHERE (Type = :Type)
ORDER BY Code
• query TypeAll()
SQL Query :
SELECT %ID,Type FROM CodeTable GROUP BY Type

Indices


•index (MainIndex on Type,Code) [IdKey,Unique];