文章目录
-
一篇文章了解编译类成员定义 - `%Dictionary.CompiledClass` - 编译类定义表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledConstraint` - 编译约束表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledConstraintMethod` - 编译约束表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledForeignKey` - 编译外键表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledIndex` - 编译索引表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledIndexMethod` - 编译索引方法表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledIndexProperty` - 编译索引属性表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledInstanceVar` - 编译实例变量表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledMethod` - 编译方法表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledParameter` - 编译参数表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledProjection` - 编译映射表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledProperty` - 编译属性表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledPropertyMethod` - 编译属性方法表
- 简介
- 索引
- 示例
- `%Dictionary.CompiledPropertyUDLText` - 编译UDL表
- 索引
- 表结构
- `%Dictionary.CompiledQuery` - 编译`Query`表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledQueryMethod` - 编译`Query`方法表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorage` - 编译`Storage`表
- 简介
- 索引
- 示例
- `%Dictionary.CompiledStorageData` - 编译`Storage`节点表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageDataValue` - 编译`Storage`节点值表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageIndex` - 编译`Storage`索引表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageProperty` - 编译`Storage`属性表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMap` - 编译`StorageSQL`映射表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMapData` - 编译`StorageSQL`映射数据表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMapRowIdSpec` - 编译`StorageSQL`映射行位置字段表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMapSub` - 编译`StorageSQLMapSub`表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMapSubAccessvar` - 编译`StorageSQLMapSubAccessvar`表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledStorageSQLMapSubInvalidcondition` - 编译`CompiledStorageSQLMapSubInvalidcondition`表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledTrigger` - 编译触发器表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledUDLText` - 编译`UDLText`表
- 简介
- 索引
- 示例
- 表结构
- `%Dictionary.CompiledXData` - 编译`XData`表
- 简介
- 索引
- 示例
- 表结构
一篇文章了解编译类成员定义
Complied
- 开头的表都均为编译时定义的内容。例如:属性字段,会显示继承父类的属性,类定义表则不会。^oddCOM
-所有编译表的Global
信息。
注:文章示例可在一篇文章了解定义类成员定义表结构查找
%Dictionary.CompiledClass
- 编译类定义表
简介
新建类或更改类定义会修改此表字段。
索引
- 取值索引 -
^oddCOM({%Dictionary.CompiledClass.Name})
%Dictionary.CompiledClass.Name
- 类名称
示例
增加User.Human
类Final
关键字。
Class User.Human Extends (%Persistent, %Populate) [ ClassType = persistent, Final, SqlRowIdName = id ]
{
}
SQL
查询该表,可以观察到Final
字段为1。
Global
示例:
USER>zw ^oddCOM("User.Human")
^oddCOM("User.Human",2)="User.Human"
^oddCOM("User.Human",22)="~Human~"
^oddCOM("User.Human",23)="persistent"
^oddCOM("User.Human",24)="HANDLE"
^oddCOM("User.Human",25)=4
^oddCOM("User.Human",27)=1680892779
^oddCOM("User.Human",36,"%occInclude")=""
^oddCOM("User.Human",36,"%occSqlfunc")=""
^oddCOM("User.Human",36,"%systemInclude")=""
^oddCOM("User.Human",38,"%occUtility")=""
^oddCOM("User.Human",38,"%systemInclude")=""
^oddCOM("User.Human",43)="INTEGER"
^oddCOM("User.Human",45)="~User.Human~%Library.Persistent~%Library.SwizzleObject~%Library.RegisteredObject~%Library.Base~%Library.SystemBase~"
^oddCOM("User.Human",47,"HUMAN_EXTENT")=$lb("SQLUser","Human_Extent")
^oddCOM("User.Human",47,"QUERYPERSONBYNAME")=$lb("SQLUser","QueryPersonByName")
^oddCOM("User.Human",48)="%Library.PersistentProperty,%Library.CachePopulate"
^oddCOM("User.Human",49)=1
^oddCOM("User.Human",50,"User.Human.0")="66692,53827.718035"
^oddCOM("User.Human",50,"User.Human.1")="66692,53827.711134"
^oddCOM("User.Human",52)="INTEGER"
^oddCOM("User.Human",53)="SQLUser.Human"
^oddCOM("User.Human",57)="SQLUser"
^oddCOM("User.Human",58)="Human"
^oddCOM("User.Human",59)="SQLStorage"
^oddCOM("User.Human",60)="%Library.Persistent,%Library.Populate"
^oddCOM("User.Human",62,"SQLUser.Human")=$lb("SQLUser","Human")
^oddCOM("User.Human",63)="66692,53827.919521"
^oddCOM("User.Human",64)="66692,53827.335423"
^oddCOM("User.Human",74)=2016.2
^oddCOM("User.Human",77,"User.Human")=""
^oddCOM("User.Human",83)=""
^oddCOM("User.Human",89)="kc0dEu86w10"
^oddCOM("User.Human",90)="GIxw8H7ueAs"
^oddCOM("User.Human",91)="LAPTOP-ARLL3DSO:CACHE^USER"
^oddCOM("User.Human",102)="85G0k7W1jrTUlg"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
Abstract | %Boolean | 指定类不能有实例;对于数据类型,指定该类不能用作属性类型。 | 21 | s {Abstract}=$s($d(^oddCOM({L1},21))#2:^(21),1:$s($d(^oddDEF({L1},21))#2:^(21),1:0)) |
Ancestry | %CacheString | Ancestry | 22 | s {Ancestry}=$s($d(^oddCOM({L1},22))#2:^(22),1:$s($d(^oddDEF({L1},22))#2:^(22),1:"")) |
CacheVersion | %CacheString | 编译此类的版本。 | 74 | s {CacheVersion}=$s($d(^oddCOM({L1},74))#2:^(74),1:$s($d(^oddDEF({L1},74))#2:^(74),1:"")) |
ClassCompileError | %CacheString | 如果出现错误,则编译此类的状态代码 | 98 | s {ClassCompileError}=$s($d(^oddCOM({L1},98))#2:^(98),1:$s($d(^oddDEF({L1},98))#2:^(98),1:"")) |
ClassDefinitionError | %Boolean | 如果序列化类时出现问题,则设置为 true ,以便编译器知道不要编译该类。 | 67 | s {ClassDefinitionError}=$s($d(^oddCOM({L1},67))#2:^(67),1:$s($d(^oddDEF({L1},67))#2:^(67),1:0)) |
ClassType | %CacheString | 指定如何使用该类。 | 23 | s {ClassType}=$s($d(^oddCOM({L1},23))#2:^(23),1:$s($d(^oddDEF({L1},23))#2:^(23),1:"")) |
Classes | %CacheString | 由此类生成的项目数组。 | 86 | n sub s {Classes}="",sub="" f s sub=$o(^oddCOM({L1},86,sub)) q:sub="" s {Classes}={Classes}_$lb($lb(sub,$g(^oddCOM({L1},86,sub)))) |
ClientDataType | %CacheString | 对于数据类型类,指定通过 ActiveX 或 Java 公开时使用的类型。数据类型类必须指定客户端数据类型。 | 24 | s {ClientDataType}=$s($d(^oddCOM({L1},24))#2:^(24),1:$s($d(^oddDEF({L1},24))#2:^(24),1:"VARCHAR")) |
ClientDataTypeEnum | %Integer | 客户端数据类型枚举 | 25 | s {ClientDataTypeEnum}=$s($d(^oddCOM({L1},25))#2:^(25),1:$s($d(^oddDEF({L1},25))#2:^(25),1:0)) |
ClientInfo | %CacheString | 客户端信息 | 26 | n sub s {ClientInfo}="",sub="" f s sub=$o(^oddCOM({L1},26,sub)) q:sub="" s {ClientInfo}={ClientInfo}_$lb($lb(sub,$g(^oddCOM({L1},26,sub)))) |
ClientName | %CacheString | 如果该类映射到例如 Java ,则这会为该类提供一个备用名称。 | 73 | s {ClientName}=$s($d(^oddCOM({L1},73))#2:^(73),1:$s($d(^oddDEF({L1},73))#2:^(73),1:"")) |
CompilationSignature | %CacheString | 编译签名 | 27 | s {CompilationSignature}=$s($d(^oddCOM({L1},27))#2:^(27),1:$s($d(^oddDEF({L1},27))#2:^(27),1:"")) |
CompileAfter | %CacheString | 指示类编译器应该在指定的类之后编译此类。 | 28 | s {CompileAfter}=$s($d(^oddCOM({L1},28))#2:^(28),1:$s($d(^oddDEF({L1},28))#2:^(28),1:"")) |
CompileNamespace | %CacheString | 此类编译时的命名空间,用于帮助依赖性检查。 | 91 | s {CompileNamespace}=$s($d(^oddCOM({L1},91))#2:^(91),1:$s($d(^oddDEF({L1},91))#2:^(91),1:"")) |
ConstraintClass | %CacheString | 要继承的附加约束成员超类。 | 80 | s {ConstraintClass}=$s($d(^oddCOM({L1},80))#2:^(80),1:$s($d(^oddDEF({L1},80))#2:^(80),1:"")) |
DdlAllowed | %Boolean | 对于持久类,指示 DDL 语句是否可用于更改或删除类定义。 | 29 | s {DdlAllowed}=$s($d(^oddCOM({L1},29))#2:^(29),1:$s($d(^oddDEF({L1},29))#2:^(29),1:0)) |
DependsOn | %CacheString | 该类依赖于可运行以便该类进行编译的类的列表。 | 84 | s {DependsOn}=$s($d(^oddCOM({L1},84))#2:^(84),1:$s($d(^oddDEF({L1},84))#2:^(84),1:"")) |
Deployed | %Integer | 指示该类是否已部署,即与用于构建该类的源解除关联。 | 72 | s {Deployed}=$s($d(^oddCOM({L1},72))#2:^(72),1:$s($d(^oddDEF({L1},72))#2:^(72),1:0)) |
Deprecated | %Boolean | 如果此类已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},17))#2:^(17),1:$s($d(^oddDEF({L1},17))#2:^(17),1:0)) |
Description | %CacheString | 指定类的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},4))#2:^(4),1:$s($d(^oddDEF({L1},4))#2:^(4),1:"")) |
DisableIncremental | %Boolean | 已弃用 | 95 | s {DisableIncremental}=$s($d(^oddCOM({L1},95))#2:^(95),1:$s($d(^oddDEF({L1},95))#2:^(95),1:0)) |
Dynamic | %Boolean | 已弃用 | 30 | s {Dynamic}=$s($d(^oddCOM({L1},30))#2:^(30),1:$s($d(^oddDEF({L1},30))#2:^(30),1:0)) |
EmbeddedClass | %CacheString | 如果在成员类型类中指定,则为形成嵌入超类的类的名称 | 100 | s {EmbeddedClass}=$s($d(^oddCOM({L1},100))#2:^(100),1:$s($d(^oddDEF({L1},100))#2:^(100),1:"")) |
Extents | %CacheString | Extents | 77 | n sub s {Extents}="",sub="" f s sub=$o(^oddCOM({L1},77,sub)) q:sub="" s {Extents}={Extents}_$lb($lb(sub,$g(^oddCOM({L1},77,sub)))) |
Final | %Boolean | 指定该类不能有子类。 | 7 | s {Final}=$s($d(^oddCOM({L1},7))#2:^(7),1:$s($d(^oddDEF({L1},7))#2:^(7),1:0)) |
GeneratedBy | %CacheString | 如果此类是由其他组件生成的,则这是生成此类的项目的名称 | 87 | s {GeneratedBy}=$s($d(^oddCOM({L1},87))#2:^(87),1:$s($d(^oddDEF({L1},87))#2:^(87),1:"")) |
HasCPP | %CacheString | 如果此类具有 C++ 方法,则为 True 。 | 97 | s {HasCPP}=$s($d(^oddCOM({L1},97))#2:^(97),1:$s($d(^oddDEF({L1},97))#2:^(97),1:"")) |
Hash | %CacheString | 此类的哈希值,以便我们可以检测到它何时发生更改。 | 89 | s {Hash}=$s($d(^oddCOM({L1},89))#2:^(89),1:$s($d(^oddDEF({L1},89))#2:^(89),1:"")) |
Hidden | %Boolean | 指定在查看类字典的内容时通常不列出该类。 | 32 | s {Hidden}=$s($d(^oddCOM({L1},32))#2:^(32),1:$s($d(^oddDEF({L1},32))#2:^(32),1:0)) |
Import | %CacheString | 提供要为此类导入的类包列表。 | 33 | s {Import}=$s($d(^oddCOM({L1},33))#2:^(33),1:$s($d(^oddDEF({L1},33))#2:^(33),1:"")) |
Importall | %CacheString | 全部导入 | 34 | n sub s {Importall}="",sub="" f s sub=$o(^oddCOM({L1},34,sub)) q:sub="" s {Importall}={Importall}_$lb($lb(sub,$g(^oddCOM({L1},34,sub)))) |
IncludeCode | %CacheString | 指定编译此类时使用的缓存包含文件的可选列表。 | 35 | s {IncludeCode}=$s($d(^oddCOM({L1},35))#2:^(35),1:$s($d(^oddDEF({L1},35))#2:^(35),1:"")) |
IncludeCodeAll | %CacheString | 包含全部代码 | 36 | n sub s {IncludeCodeAll}="",sub="" f s sub=$o(^oddCOM({L1},36,sub)) q:sub="" s {IncludeCodeAll}={IncludeCodeAll}_$lb($lb(sub,$g(^oddCOM({L1},36,sub)))) |
IncludeGenerator | %CacheString | 指定编译此类的方法生成器方法时使用的缓存包含文件的可选列表。 | 37 | s {IncludeGenerator}=$s($d(^oddCOM({L1},37))#2:^(37),1:$s($d(^oddDEF({L1},37))#2:^(37),1:"")) |
IncludeMGenAll | %CacheString | IncludeMGenAll | 38 | n sub s {IncludeMGenAll}="",sub="" f s sub=$o(^oddCOM({L1},38,sub)) q:sub="" s {IncludeMGenAll}={IncludeMGenAll}_$lb($lb(sub,$g(^oddCOM({L1},38,sub)))) |
IndexClass | %CacheString | 要继承的附加索引成员超类。 | 81 | s {IndexClass}=$s($d(^oddCOM({L1},81))#2:^(81),1:$s($d(^oddDEF({L1},81))#2:^(81),1:"")) |
Inheritance | %CacheString | 定义使用多重继承时的继承顺序,如果一个成员存在于多个超类中,则哪个超类优先。 | 92 | s {Inheritance}=$s($d(^oddCOM({L1},92))#2:^(92),1:$s($d(^oddDEF({L1},92))#2:^(92),1:"left")) |
InitialValue | %CacheString | 如果指定新对象的初始序列值 | 94 | s {InitialValue}=$s($d(^oddCOM({L1},94))#2:^(94),1:$s($d(^oddDEF({L1},94))#2:^(94),1:"")) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},12))#2:^(12),1:$s($d(^oddDEF({L1},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},13))#2:^(13),1:$s($d(^oddDEF({L1},13))#2:^(13),1:0)) |
LegacyInstanceContext | %Boolean | 如果为 true ,则将 %this 作为所有实例方法的第一个参数传递 | 96 | s {LegacyInstanceContext}=$s($d(^oddCOM({L1},96))#2:^(96),1:$s($d(^oddDEF({L1},96))#2:^(96),1:0)) |
Manifest | %CacheString | 使用此类映射的项目数组,需要将其包含在我们从此类创建的任何部署包中 | 103 | n sub s {Manifest}="",sub="" f s sub=$o(^oddCOM({L1},103,sub)) q:sub="" s {Manifest}={Manifest}_$lb($lb(sub,$g(^oddCOM({L1},103,sub)))) |
MemberSuper | %CacheString | 如果该类在成员继承中用作成员类,则这是要继承的类 | 83 | s {MemberSuper}=$s($d(^oddCOM({L1},83))#2:^(83),1:$s($d(^oddDEF({L1},83))#2:^(83),1:"")) |
ModificationAuxiliary | %CacheString | 已弃用 | 68 | s {ModificationAuxiliary}=$s($d(^oddCOM({L1},68))#2:^(68),1:$s($d(^oddDEF({L1},68))#2:^(68),1:"")) |
ModificationLevel | %Integer | 已弃用 | 69 | s {ModificationLevel}=$s($d(^oddCOM({L1},69))#2:^(69),1:$s($d(^oddDEF({L1},69))#2:^(69),1:9)) |
Modified | %CacheString | 如果设置为 0,则类始终会被修改,因此它始终会被保存。 | 40 | s {Modified}=$s($d(^oddCOM({L1},40))#2:^(40),1:$s($d(^oddDEF({L1},40))#2:^(40),1:3)) |
Name | %Dictionary.CacheClassname | 类名 | ||
NoContext | %Boolean | 没有上下文 | 42 | s {NoContext}=$s($d(^oddCOM({L1},42))#2:^(42),1:$s($d(^oddDEF({L1},42))#2:^(42),1:0)) |
NoExtent | %Boolean | 如果为 TRUE 将阻止此类实例化持久Extent 。 | 76 | s {NoExtent}=$s($d(^oddCOM({L1},76))#2:^(76),1:$s($d(^oddDEF({L1},76))#2:^(76),1:0)) |
OdbcType | %CacheString | 对于数据类型类,指定通过 ODBC 或 JDBC 公开时使用的类型。数据类型类必须指定 ODBC 类型。 | 43 | s {OdbcType}=$s($d(^oddCOM({L1},43))#2:^(43),1:$s($d(^oddDEF({L1},43))#2:^(43),1:"VARCHAR")) |
OldHash | %CacheString | 跟踪旧的哈希值,以便我们可以修改类而不将其标记为过时。 | 101 | s {OldHash}=$s($d(^oddCOM({L1},101))#2:^(101),1:$s($d(^oddDEF({L1},101))#2:^(101),1:"")) |
Owner | %CacheString | 指定类及其对应表的所有者。默认情况下,类和表属于 _SYSTEM 。 | 44 | s {Owner}=$s($d(^oddCOM({L1},44))#2:^(44),1:$s($d(^oddDEF({L1},44))#2:^(44),1:"")) |
PrimarySuper | %CacheString | 主父类 | 45 | s {PrimarySuper}=$s($d(^oddCOM({L1},45))#2:^(45),1:$s($d(^oddDEF({L1},45))#2:^(45),1:"")) |
ProcedureBlock | %Boolean | 指定该类对方法代码使用过程块。 | 46 | s {ProcedureBlock}=$s($d(^oddCOM({L1},46))#2:^(46),1:$s($d(^oddDEF({L1},46))#2:^(46),1:1)) |
Procedures | %CacheString | Procedures | 47 | n sub s {Procedures}="",sub="" f s sub=$o(^oddCOM({L1},47,sub)) q:sub="" s {Procedures}={Procedures}_$lb($lb(sub,$g(^oddCOM({L1},47,sub)))) |
ProjectionClass | %CacheString | 要继承的附加映射成员超类。 | 82 | s {ProjectionClass}=$s($d(^oddCOM({L1},82))#2:^(82),1:$s($d(^oddDEF({L1},82))#2:^(82),1:"")) |
PropertyClass | %CacheString | 要继承的附加属性成员超类。 | 48 | s {PropertyClass}=$s($d(^oddCOM({L1},48))#2:^(48),1:$s($d(^oddDEF({L1},48))#2:^(48),1:"")) |
QueryClass | %CacheString | 要继承的附加查询成员超类。 | 79 | s {QueryClass}=$s($d(^oddCOM({L1},79))#2:^(79),1:$s($d(^oddDEF({L1},79))#2:^(79),1:"")) |
RandomSig | %CacheString | 每次编译类时都会更新的随机值 | 102 | s {RandomSig}=$s($d(^oddCOM({L1},102))#2:^(102),1:$s($d(^oddDEF({L1},102))#2:^(102),1:"")) |
RoutineCount | %Integer | Routine 计数 | 49 | s {RoutineCount}=$s($d(^oddCOM({L1},49))#2:^(49),1:$s($d(^oddDEF({L1},49))#2:^(49),1:0)) |
Routines | %CacheString | Routines | 50 | n sub s {Routines}="",sub="" f s sub=$o(^oddCOM({L1},50,sub)) q:sub="" s {Routines}={Routines}_$lb($lb(sub,$g(^oddCOM({L1},50,sub)))) |
ServerOnly | %CacheString | ServerOnly | 88 | s {ServerOnly}=$s($d(^oddCOM({L1},88))#2:^(88),1:$s($d(^oddDEF({L1},88))#2:^(88),1:"")) |
SlotCount | %Integer | 插槽数 | 51 | s {SlotCount}=$s($d(^oddCOM({L1},51))#2:^(51),1:$s($d(^oddDEF({L1},51))#2:^(51),1:0)) |
SoapBindingStyle | %CacheString | 指定该类用于通过 SOAP 发送和接收消息时所使用的 SOAP Binding 。 | 70 | s {SoapBindingStyle}=$s($d(^oddCOM({L1},70))#2:^(70),1:$s($d(^oddDEF({L1},70))#2:^(70),1:"document")) |
SoapBodyUse | %CacheString | 指定用于 SOAP 消息的编码。 | 71 | s {SoapBodyUse}=$s($d(^oddCOM({L1},71))#2:^(71),1:$s($d(^oddDEF({L1},71))#2:^(71),1:"literal")) |
SqlCategory | %CacheString | 对于数据类型类,指定用于 SQL 计算的类型。数据类型类必须指定 SQL 类别。 | 52 | s {SqlCategory}=$s($d(^oddCOM({L1},52))#2:^(52),1:$s($d(^oddDEF({L1},52))#2:^(52),1:"STRING")) |
SqlQualifiedNameQ | %CacheString | SqlQualifiedNameQ | 53 | s {SqlQualifiedNameQ}=$s($d(^oddCOM({L1},53))#2:^(53),1:$s($d(^oddDEF({L1},53))#2:^(53),1:$g(^%qCacheObjectKey(1,"c",53)))) |
SqlRoutinePrefix | %CacheString | 已弃用 | 54 | s {SqlRoutinePrefix}=$s($d(^oddCOM({L1},54))#2:^(54),1:$s($d(^oddDEF({L1},54))#2:^(54),1:"")) |
SqlRowIdName | %CacheString | 对于持久类,指定用于 ID 列的备用字段名称。默认情况下,该 ID 称为 ID 。 | 55 | s {SqlRowIdName}=$s($d(^oddCOM({L1},55))#2:^(55),1:$s($d(^oddDEF({L1},55))#2:^(55),1:"")) |
SqlRowIdPrivate | %Boolean | 对于持久类,指定 ID 列是否作为隐藏字段投影到 ODBC 。 | 56 | s {SqlRowIdPrivate}=$s($d(^oddCOM({L1},56))#2:^(56),1:$s($d(^oddDEF({L1},56))#2:^(56),1:0)) |
SqlSchemaName | %CacheString | SQL 架构名称 | 57 | s {SqlSchemaName}=$s($d(^oddCOM({L1},57))#2:^(57),1:$s($d(^oddDEF({L1},57))#2:^(57),1:"")) |
SqlTableName | %CacheString | 对于持久类,指定用于在 SQL 映射中标识该类的表名称。默认情况下,SQL 表名与类名相同。 | 58 | s {SqlTableName}=$s($d(^oddCOM({L1},58))#2:^(58),1:$s($d(^oddDEF({L1},58))#2:^(58),1:"")) |
StorageStrategy | %CacheString | 指定用于控制此类的持久性的存储策略的名称。 | 59 | s {StorageStrategy}=$s($d(^oddCOM({L1},59))#2:^(59),1:$s($d(^oddDEF({L1},59))#2:^(59),1:"")) |
Structure | %CacheString | 类“结构”的哈希值;这样我们就可以检测到SQL 相关的类何时需要重新编译。 | 90 | s {Structure}=$s($d(^oddCOM({L1},90))#2:^(90),1:$s($d(^oddDEF({L1},90))#2:^(90),1:"")) |
Super | %CacheString | 指定该类的一个或多个超类。 | 60 | s {Super}=$s($d(^oddCOM({L1},60))#2:^(60),1:$s($d(^oddDEF({L1},60))#2:^(60),1:"")) |
System | %CacheString | 指定该类是实现的内部类。用户不应该用这个关键字来标记他们的类。 | 61 | s {System}=$s($d(^oddCOM({L1},61))#2:^(61),1:$s($d(^oddDEF({L1},61))#2:^(61),1:0)) |
Tables | %CacheString | 表 | 62 | n sub s {Tables}="",sub="" f s sub=$o(^oddCOM({L1},62,sub)) q:sub="" s {Tables}={Tables}_$lb($lb(sub,$g(^oddCOM({L1},62,sub)))) |
TimeChanged | %CacheString | 给出对类进行最后更改的时间。 | 63 | s {TimeChanged}=$s($d(^oddCOM({L1},63))#2:^(63),1:$s($d(^oddDEF({L1},63))#2:^(63),1:"")) |
TimeCreated | %CacheString | 给出类首次创建的时间。 | 64 | s {TimeCreated}=$s($d(^oddCOM({L1},64))#2:^(64),1:$s($d(^oddDEF({L1},64))#2:^(64),1:"")) |
TriggerClass | %CacheString | 要继承的附加触发器成员超类。 | 99 | s {TriggerClass}=$s($d(^oddCOM({L1},99))#2:^(99),1:$s($d(^oddDEF({L1},99))#2:^(99),1:"")) |
ViewQuery | %CacheString | 给出用于此类的视图定义的 SQL 查询。 | 65 | s {ViewQuery}=$s($d(^oddCOM({L1},65))#2:^(65),1:$s($d(^oddDEF({L1},65))#2:^(65),1:"")) |
Views | %CacheString | 视图 | 66 | n sub s {Views}="",sub="" f s sub=$o(^oddCOM({L1},66,sub)) q:sub="" s {Views}={Views}_$lb($lb(sub,$g(^oddCOM({L1},66,sub)))) |
XMLData | %CacheString | XMLData | 85 | n sub s {XMLData}="",sub="" f s sub=$o(^oddCOM({L1},85,sub)) q:sub="" s {XMLData}={XMLData}_$lb($lb(sub,$g(^oddCOM({L1},85,sub)))) |
_Language | | 39 | s {_Language}=$s($d(^oddCOM({L1},39))#2:^(39),1:$s($d(^oddDEF({L1},39))#2:^(39),1:"cache")) |
%Dictionary.CompiledConstraint
- 编译约束表
简介
创建约束定义时会自动生成改表,例如外键约约束。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"n",{%Dictionary.CompiledConstraint.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledConstraint.Name
- 约束名
注:CompiledConstraint
定义类中Relationship
关键字字段。
示例
SQL
查询该表:
Global
示例:
USER>zw ^oddCOM("User.Human","n")
^oddCOM("User.Human","n","MenuFK",2)="User.Human"
^oddCOM("User.Human","n","MenuFK",5)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK",21)="fkey"
^oddCOM("User.Human","n","MenuFK",22)=0
^oddCOM("User.Human","n","MenuFK",23)="immediate"
^oddCOM("User.Human","n","MenuFK",24)="MenuFK"
^oddCOM("User.Human","n","MenuFK",25)="kp1"
^oddCOM("User.Human","n","MenuFK",26)=$lb($lb("kp1","%Library.String","",""))
^oddCOM("User.Human","n","MenuFK",27)="MenuFK"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Category | %CacheString | 指定约束的类型。 | 21 | s {Category}=$s($d(^oddCOM({L1},"n",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"n",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},21))#2:^(21),1:"fkey")) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"n",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"n",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果此约束已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"n",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"n",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},17))#2:^(17),1:0)) |
Final | %Boolean | Final | 7 | s {Final}=$s($d(^oddCOM({L1},"n",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"n",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},7))#2:^(7),1:1)) |
FormalSpec | %CacheString | 指定传递给约束的参数列表。 | 25 | s {FormalSpec}=$s($d(^oddCOM({L1},"n",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"n",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},25))#2:^(25),1:"")) |
FormalSpecParsed | %CacheString | 正式规范解析 | 26 | s {FormalSpecParsed}=$s($d(^oddCOM({L1},"n",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"n",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},26))#2:^(26),1:"")) |
GeneratedFrom | %CacheString | 指定生成此约束的类成员的名称,成员类型取决于 Category 关键字的值。 | 27 | s {GeneratedFrom}=$s($d(^oddCOM({L1},"n",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"n",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},27))#2:^(27),1:"")) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"n",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"n",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"n",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"n",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},8))#2:^(8),1:0)) |
Initialmode | %CacheString | 初始模式 | 23 | s {Initialmode}=$s($d(^oddCOM({L1},"n",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"n",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},23))#2:^(23),1:"")) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"n",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"n",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字已修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"n",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"n",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},13))#2:^(13),1:0)) |
Name | %Dictionary.CacheIdentifier | |||
NotInheritable | %Boolean | 不可继承 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"n",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"n",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | 源 | 2 | s {Origin}=$s($d(^oddCOM({L1},"n",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"n",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},2))#2:^(2),1:"")) |
Parameters | %CacheString | 参数 | 0 | n sub s {Parameters}="",sub="" f s sub=$o(^oddCOM({L1},"n",{L3},"P",sub)) q:sub="" s {Parameters}={Parameters}_$lb($lb(sub,$s($d(^oddCOM({L1},"n",{L3},"P",sub))#2:^(sub),$d(^oddCOM($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},"P",sub))#2:^(sub),1:$g(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},"P",sub))))) |
SqlName | %CacheString | SQL 名称 | 24 | s {SqlName}=$s($d(^oddCOM({L1},"n",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"n",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},24))#2:^(24),1:"")) |
Type | %CacheString | 类型 | 5 | s {Type}=$s($d(^oddCOM({L1},"n",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"n",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},5))#2:^(5),1:"")) |
_Deferrable | | 22 | s {_Deferrable}=$s($d(^oddCOM({L1},"n",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"n",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"n",{L3},2),{L1}),"n",{L3},22))#2:^(22),1:0)) |
%Dictionary.CompiledConstraintMethod
- 编译约束表
简介
创建约束定义时会自动生成改表。
该表为%Dictionary.CompiledConstraint
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"n",{%Dictionary.CompiledConstraint.Name},"m",{%Dictionary.CompiledConstraintMethod.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledConstraint.Name
- 约束名%Dictionary.CompiledConstraintMethod.Name
- 约束方法名
注:此表定义约束回调方法,自动生成。
示例
SQL
查询该表:
Global
示例:
^oddCOM("User.Human","n","MenuFK","m","Check",2)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK","m","Check",26)=$lb("","0")
^oddCOM("User.Human","n","MenuFK","m","Check",44)=1
^oddCOM("User.Human","n","MenuFK","m","Check",50)="%Library.String,%Library.Boolean"
^oddCOM("User.Human","n","MenuFK","m","Check",60)=$lb($lb("kp1","%Library.String","",""),$lb("lockonly","%Library.Boolean","","0"))
^oddCOM("User.Human","n","MenuFK","m","Check",69)="??"_$c(143)_"??????>."_$c(157)
^oddCOM("User.Human","n","MenuFK","m","Delete",2)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK","m","Delete",26)=$lb("")
^oddCOM("User.Human","n","MenuFK","m","Delete",44)=1
^oddCOM("User.Human","n","MenuFK","m","Delete",50)="%Library.String"
^oddCOM("User.Human","n","MenuFK","m","Delete",60)=$lb($lb("kp1","%Library.String","",""))
^oddCOM("User.Human","n","MenuFK","m","Delete",69)="2N;"_$c(23)_"Y#??"_$c(23)
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyExists",2)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyExists",25)="s"
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyExists",44)=1
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyExists",69)="??pT)????"_$c(149)_"??"
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyRefAction",2)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyRefAction",25)="s"
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyRefAction",44)=1
^oddCOM("User.Human","n","MenuFK","m","SQLFKeyRefAction",69)="éG~"_$c(28)_"1??????"
^oddCOM("User.Human","n","MenuFK","m","Update",2)="%Library.ConstraintForeignKey"
^oddCOM("User.Human","n","MenuFK","m","Update",26)=$lb("","")
^oddCOM("User.Human","n","MenuFK","m","Update",44)=1
^oddCOM("User.Human","n","MenuFK","m","Update",50)="%Library.String,%Library.String"
^oddCOM("User.Human","n","MenuFK","m","Update",60)=$lb($lb("kp1","%Library.String","",""),$lb("nkp1","%Library.String","",""))
^oddCOM("User.Human","n","MenuFK","m","Update",69)=$zwc(661,15767,58841,19234)/*$bit(124378)*/
表结构
注:字段同%Dictionary.CompiledMethod
字段。
%Dictionary.CompiledForeignKey
- 编译外键表
简介
新建或更改外键并编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"f",{%Dictionary.CompiledForeignKey.Name}
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledForeignKey.Name
- 外键名
示例
SQL
查询该表:
Global
示例:
USER>zw ^oddCOM("User.Human","f")
^oddCOM("User.Human","f","MenuFK",2)="User.Human"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"f",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"f",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果该外键已被弃用,则为真。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"f",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"f",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 提供外键的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"f",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"f",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},4))#2:^(4),1:"")) |
Final | %Boolean | Final | 7 | s {Final}=$s($d(^oddCOM({L1},"f",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"f",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},7))#2:^(7),1:1)) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"f",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"f",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"f",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"f",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true ,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"f",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"f",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"f",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"f",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"f",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"f",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},13))#2:^(13),1:0)) |
NoCheck | %Boolean | NoCheck | 27 | s {NoCheck}=$s($d(^oddCOM({L1},"f",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"f",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},27))#2:^(27),1:0)) |
NotInheritable | %Boolean | 不可继承 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"f",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"f",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},9))#2:^(9),1:0)) |
OnDelete | %CacheString | 指定从外表中删除键值时要采取的参考操作。 | 21 | s {OnDelete}=$s($d(^oddCOM({L1},"f",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"f",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},21))#2:^(21),1:"noaction")) |
OnUpdate | %CacheString | 指定当外部表中的键值更新时要采取的参考操作。 | 22 | s {OnUpdate}=$s($d(^oddCOM({L1},"f",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"f",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},22))#2:^(22),1:"noaction")) |
Origin | %CacheString | 源 | 2 | s {Origin}=$s($d(^oddCOM({L1},"f",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"f",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},2))#2:^(2),1:"")) |
Properties | %CacheString | 指定一个或多个属性,其值用于约束外键的值。 | 23 | s {Properties}=$s($d(^oddCOM({L1},"f",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"f",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},23))#2:^(23),1:"")) |
ReferencedClass | %Dictionary.CacheClassname | 指定包含此外键定义引用的键的类的名称。 | 24 | s {ReferencedClass}=$s($d(^oddCOM({L1},"f",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"f",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},24))#2:^(24),1:"")) |
ReferencedKey | %CacheString | 指定类中唯一索引的键名称,该类为此外键提供允许的值集。 | 25 | s {ReferencedKey}=$s($d(^oddCOM({L1},"f",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"f",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},25))#2:^(25),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"f",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"f",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},11))#2:^(11),1:0)) |
SqlName | %CacheString | 指定通过 SQL 引用时该外键的备用名称。 | 26 | s {SqlName}=$s($d(^oddCOM({L1},"f",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"f",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},26))#2:^(26),1:"")) |
%Dictionary.CompiledIndex
- 编译索引表
简介
新建或修改索引并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"i",{%Dictionary.CompiledIndex.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledIndex.Name
- 索引名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","i")
^oddCOM("User.Human","i","IDKEY",2)="User.Human"
^oddCOM("User.Human","i","IDKEY",5)="key"
^oddCOM("User.Human","i","IDKEY",10)=1
^oddCOM("User.Human","i","IDKEY",22)="001011~key~~~"
^oddCOM("User.Human","i","IDKEY",26)=1
^oddCOM("User.Human","i","IDKEY",29)="IDKEY"
^oddCOM("User.Human","i","IDKEY",30)=1
^oddCOM("User.Human","i","IDKEY",32)=1
^oddCOM("User.Human","i","IndexName",2)="User.Human"
^oddCOM("User.Human","i","IndexName",5)="index"
^oddCOM("User.Human","i","IndexName",22)="000000~index~name~~"
^oddCOM("User.Human","i","IndexName",29)="IndexName"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"f",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"f",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果此外键已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"f",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"f",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 提供外键的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"f",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"f",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},4))#2:^(4),1:"")) |
Final | %Boolean | Final | 7 | s {Final}=$s($d(^oddCOM({L1},"f",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"f",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},7))#2:^(7),1:1)) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"f",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"f",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"f",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"f",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"f",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"f",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"f",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"f",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"f",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"f",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},13))#2:^(13),1:0)) |
NoCheck | %Boolean | NoCheck | 27 | s {NoCheck}=$s($d(^oddCOM({L1},"f",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"f",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},27))#2:^(27),1:0)) |
NotInheritable | %Boolean | 不可继承 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"f",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"f",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},9))#2:^(9),1:0)) |
OnDelete | %CacheString | 指定从外表中删除键值时要采取的参考操作。 | 21 | s {OnDelete}=$s($d(^oddCOM({L1},"f",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"f",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},21))#2:^(21),1:"noaction")) |
OnUpdate | %CacheString | 指定当外部表中的键值更新时要采取的参考操作。 | 22 | s {OnUpdate}=$s($d(^oddCOM({L1},"f",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"f",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},22))#2:^(22),1:"noaction")) |
Origin | %CacheString | 源 | 2 | s {Origin}=$s($d(^oddCOM({L1},"f",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"f",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},2))#2:^(2),1:"")) |
Properties | %CacheString | 指定一个或多个属性,其值用于约束外键的值。 | 23 | s {Properties}=$s($d(^oddCOM({L1},"f",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"f",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},23))#2:^(23),1:"")) |
ReferencedClass | %Dictionary.CacheClassname | 指定包含此外键定义引用的键的类的名称。 | 24 | s {ReferencedClass}=$s($d(^oddCOM({L1},"f",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"f",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},24))#2:^(24),1:"")) |
ReferencedKey | %CacheString | 指定类中唯一索引的键名称,该类为此外键提供允许的值集。 | 25 | s {ReferencedKey}=$s($d(^oddCOM({L1},"f",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"f",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},25))#2:^(25),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"f",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"f",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},11))#2:^(11),1:0)) |
SqlName | %CacheString | 指定通过 SQL 引用时该外键的备用名称。 | 26 | s {SqlName}=$s($d(^oddCOM({L1},"f",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"f",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"f",{L3},2),{L1}),"f",{L3},26))#2:^(26),1:"")) |
%Dictionary.CompiledIndexMethod
- 编译索引方法表
简介
新建或修改索引并且编译时会修改此表字段。
该表为%Dictionary.CompiledIndex
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"i",{%Dictionary.CompiledIndex.Name},"m",{%Dictionary.CompiledIndexMethod.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledIndex.Name
- 索引名%Dictionary.CompiledIndexMethod.Name
- 方法名。
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","i","IndexName","m","Exists",2)="%Library.CacheIndex"
^oddCOM("User.Human","i","IndexName","m","Exists",26)=$lb("","""""")
^oddCOM("User.Human","i","IndexName","m","Exists",44)=1
^oddCOM("User.Human","i","IndexName","m","Exists",50)="%Library.String,%Library.String"
^oddCOM("User.Human","i","IndexName","m","Exists",60)=$lb($lb("K1","%Library.String","","",),$lb("id","%Library.String","&",""""""))
^oddCOM("User.Human","i","IndexName","m","Exists",69)="L??'-à??H??"
表结构
注:字段同%Dictionary.CompiledMethod
字段。
%Dictionary.CompiledIndexProperty
- 编译索引属性表
简介
新建或修改索引并且编译时会修改此表字段。
该表为%Dictionary.CompiledIndex
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"i",{%Dictionary.CompiledIndex.Name},"I",{%Dictionary.CompiledIndexProperty.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledIndex.Name
- 索引名%Dictionary.CompiledIndexProperty.Name
- 索引字段
注:此表定义约束回调方法,自动生成。
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","i","IndexName","I")=1
^oddCOM("User.Human","i","IndexName","I",1,23)="name"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Collation | %CacheString | 排序规则 | 21 | s {Collation}=$s($d(^oddCOM({L1},"i",{L3},"I",{L5},21))#2:^(21),$d(^oddCOM($g(^(2),"*"),"I",{L5},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"i",{L3},"I",{L5},2),"*"),"I",{L5},21))#2:^(21),1:"")) |
CollationParms | %CacheString | 排序规则参数 | 22 | s {CollationParms}=$s($d(^oddCOM({L1},"i",{L3},"I",{L5},22))#2:^(22),$d(^oddCOM($g(^(2),"*"),"I",{L5},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"i",{L3},"I",{L5},2),"*"),"I",{L5},22))#2:^(22),1:"")) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"i",{L3},"I",{L5},12))#2:^(12),$d(^oddCOM($g(^(2),"*"),"I",{L5},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"i",{L3},"I",{L5},2),"*"),"I",{L5},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"i",{L3},"I",{L5},13))#2:^(13),$d(^oddCOM($g(^(2),"*"),"I",{L5},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"i",{L3},"I",{L5},2),"*"),"I",{L5},13))#2:^(13),1:0)) |
Property | %CacheString | 属性 | 23 | s {Property}=$s($d(^oddCOM({L1},"i",{L3},"I",{L5},23))#2:^(23),$d(^oddCOM($g(^(2),"*"),"I",{L5},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"i",{L3},"I",{L5},2),"*"),"I",{L5},23))#2:^(23),1:"")) |
%Dictionary.CompiledInstanceVar
- 编译实例变量表
简介
增加属性并编译会增加该表数据。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"v",{%Dictionary.CompiledInstanceVar.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledInstanceVar.Name
- 属性名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","v")
^oddCOM("User.Human","v","%%OID",2)="%Library.RegisteredObject"
^oddCOM("User.Human","v","%Concurrency",2)="%Library.Persistent"
^oddCOM("User.Human","v","age",2)="User.Human"
^oddCOM("User.Human","v","age",21)=""""""
^oddCOM("User.Human","v","menu",2)="User.Human"
^oddCOM("User.Human","v","menu",21)=""""""
^oddCOM("User.Human","v","name",2)="User.Human"
^oddCOM("User.Human","v","name",21)=""""""
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"v",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"v",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},10))#2:^(10),1:0)) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"v",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"v",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"v",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"v",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},8))#2:^(8),1:0)) |
InitialExpression | %CacheString | 初始化表达式 | 21 | s {InitialExpression}=$s($d(^oddCOM({L1},"v",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"v",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},21))#2:^(21),1:"""""")) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"v",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"v",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"v",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"v",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},13))#2:^(13),1:0)) |
ModifiedBit | %Integer | 修改位 | 22 | s {ModifiedBit}=$s($d(^oddCOM({L1},"v",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"v",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},22))#2:^(22),1:0)) |
MultiDimensional | %Boolean | 多维数组 | 23 | s {MultiDimensional}=$s($d(^oddCOM({L1},"v",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"v",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},23))#2:^(23),1:0)) |
NotInheritable | %Boolean | 不可继承 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"v",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"v",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | 源 | 2 | s {Origin}=$s($d(^oddCOM({L1},"v",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"v",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"v",{L3},2),{L1}),"v",{L3},2))#2:^(2),1:"")) |
%Dictionary.CompiledMethod
- 编译方法表
简介
新建或修改方法并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"m",{%Dictionary.CompiledMethod.Name}
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledMethod.Name
- 方法名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","m")
^oddCOM("User.Human","m","%%OIDGet",2)="%Library.RegisteredObject"
^oddCOM("User.Human","m","%%OIDGet",44)=-1
^oddCOM("User.Human","m","%%OIDGet",72)="%%OID"
^oddCOM("User.Human","m","%%OIDIsValid",47)="%%OID.IsValid.a"
^oddCOM("User.Human","m","%%OIDSet",47)="%%OID.Set.a"
^oddCOM("User.Human","m","%1Check",2)="%Library.Persistent"
^oddCOM("User.Human","m","%1Check",44)=-1
^oddCOM("User.Human","m","%AcquireLock",2)="%Library.Persistent"
...
^oddCOM("User.Human","m","ageGet",47)="age.Get.a"
^oddCOM("User.Human","m","ageIsValid",47)="age.IsValid.a"
^oddCOM("User.Human","m","ageLogicalToDisplay",47)="age.LogicalToDisplay.a"
^oddCOM("User.Human","m","ageNormalize",47)="age.Normalize.a"
^oddCOM("User.Human","m","ageSet",47)="age.Set.a"
^oddCOM("User.Human","m","menuDisplayToLogical",47)="menu.DisplayToLogical.a"
^oddCOM("User.Human","m","menuGet",47)="menu.Get.a"
^oddCOM("User.Human","m","menuIsValid",47)="menu.IsValid.a"
^oddCOM("User.Human","m","menuLogicalToDisplay",47)="menu.LogicalToDisplay.a"
^oddCOM("User.Human","m","menuLogicalToOdbc",47)="menu.LogicalToOdbc.a"
^oddCOM("User.Human","m","menuNormalize",47)="menu.Normalize.a"
^oddCOM("User.Human","m","menuSet",47)="menu.Set.a"
^oddCOM("User.Human","m","nameDisplayToLogical",47)="name.DisplayToLogical.a"
^oddCOM("User.Human","m","nameGet",47)="name.Get.a"
^oddCOM("User.Human","m","nameIsValid",47)="name.IsValid.a"
^oddCOM("User.Human","m","nameLogicalToDisplay",47)="name.LogicalToDisplay.a"
^oddCOM("User.Human","m","nameLogicalToOdbc",47)="name.LogicalToOdbc.a"
^oddCOM("User.Human","m","nameNormalize",47)="name.Normalize.a"
^oddCOM("User.Human","m","nameSet",47)="name.Set.a"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Abstract | %Boolean | 指定这是一个抽象方法。抽象方法没有实现,也没有为其生成可执行代码。抽象方法的存在仅仅是为了定义可以在一个或多个子类中重写和实现的方法签名或接口。 | 21 | s {Abstract}=$s($d(^oddCOM({L1},"m",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"m",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},21))#2:^(21),1:0)) |
ClassMethod | %Boolean | 指定该方法是类方法。实例方法只能通过实例化的对象来调用,而类方法可以在没有对象实例的情况下直接调用。 | 23 | s {ClassMethod}=$s($d(^oddCOM({L1},"m",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"m",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},23))#2:^(23),1:0)) |
ClientMethod | %Boolean | 如果为 true ,则此方法仅在服务器上可用,并且将被投影为客户端方法。 | 70 | s {ClientMethod}=$s($d(^oddCOM({L1},"m",{L3},70))#2:^(70),$d(^oddCOM($g(^(2),{L1}),"m",{L3},70))#2:^(70),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},70))#2:^(70),1:0)) |
ClientName | %CacheString | 客户端名称 | 24 | s {ClientName}=$s($d(^oddCOM({L1},"m",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"m",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},24))#2:^(24),1:"")) |
CodeMode | %CacheString | 指定如何实现给定方法:作为例程调用、要编译的代码行、表达式或将生成结果方法或对象的方法。 | 25 | s {CodeMode}=$s($d(^oddCOM({L1},"m",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"m",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},25))#2:^(25),1:"code")) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"m",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"m",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},10))#2:^(10),1:0)) |
DefaultArgs | %CacheString | 默认参数 | 26 | s {DefaultArgs}=$s($d(^oddCOM({L1},"m",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"m",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},26))#2:^(26),1:"")) |
Deprecated | %Boolean | 如果此方法已被弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"m",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"m",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定方法的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"m",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"m",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},4))#2:^(4),1:"")) |
ExternalProcName | %CacheString | 指定外部数据库中的 SQL 过程名称。 | 63 | s {ExternalProcName}=$s($d(^oddCOM({L1},"m",{L3},63))#2:^(63),$d(^oddCOM($g(^(2),{L1}),"m",{L3},63))#2:^(63),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},63))#2:^(63),1:"")) |
Final | %Boolean | 指定子类不能重写该方法的实现。 | 7 | s {Final}=$s($d(^oddCOM({L1},"m",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"m",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},7))#2:^(7),1:0)) |
ForceGenerate | %Boolean | 当 true 时,我们总是在每个子类中重新生成此方法,即使正常规则允许我们调用超类实现。 | 71 | s {ForceGenerate}=$s($d(^oddCOM({L1},"m",{L3},71))#2:^(71),$d(^oddCOM($g(^(2),{L1}),"m",{L3},71))#2:^(71),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},71))#2:^(71),1:0)) |
FormalSpec | %CacheString | 指定传递给Execute 方法的参数列表。每个参数的格式为`[& | ][:][=],其中 &表示按引用传递, `表示仅输出。 | 27 |
FormalSpecParsed | %CacheString | 正式规范解析 | 60 | s {FormalSpecParsed}=$s($d(^oddCOM({L1},"m",{L3},60))#2:^(60),$d(^oddCOM($g(^(2),{L1}),"m",{L3},60))#2:^(60),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},60))#2:^(60),1:"")) |
FormalType | %CacheString | 正式类型 | 28 | s {FormalType}=$s($d(^oddCOM({L1},"m",{L3},28))#2:^(28),$d(^oddCOM($g(^(2),{L1}),"m",{L3},28))#2:^(28),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},28))#2:^(28),1:"")) |
GenerateAfter | %CacheString | 对于方法生成器方法,指定生成器应在生成列出的方法后调用。 | 29 | s {GenerateAfter}=$s($d(^oddCOM({L1},"m",{L3},29))#2:^(29),$d(^oddCOM($g(^(2),{L1}),"m",{L3},29))#2:^(29),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},29))#2:^(29),1:"")) |
Hash | %CacheString | Hash | 66 | s {Hash}=$s($d(^oddCOM({L1},"m",{L3},66))#2:^(66),$d(^oddCOM($g(^(2),{L1}),"m",{L3},66))#2:^(66),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},66))#2:^(66),1:"")) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"m",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"m",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},6))#2:^(6),1:0)) |
Implementation | %Stream.TmpCharacter | 调用方法时执行的代码。对于表达式方法,这是一个表达式。对于调用方法,这是要调用的缓存例程的名称。 | 0 | s {Implementation}="" |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"m",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"m",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true ,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"m",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"m",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"m",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"m",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"m",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"m",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},13))#2:^(13),1:0)) |
Label | %CacheString | Label | 31 | s {Label}=$s($d(^oddCOM({L1},"m",{L3},31))#2:^(31),$d(^oddCOM($g(^(2),{L1}),"m",{L3},31))#2:^(31),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},31))#2:^(31),1:"")) |
NoContext | %Boolean | 如果为 true 并且在数据类型方法中,这会阻止 * Set %val=..prop Set $this="" * 添加到属性方法中,以便您可以重写 Get/Set 方法等内容。 | 33 | s {NoContext}=$s($d(^oddCOM({L1},"m",{L3},33))#2:^(33),$d(^oddCOM($g(^(2),{L1}),"m",{L3},33))#2:^(33),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},33))#2:^(33),1:0)) |
NotForProperty | %Boolean | 已弃用 | 34 | s {NotForProperty}=$s($d(^oddCOM({L1},"m",{L3},34))#2:^(34),$d(^oddCOM($g(^(2),{L1}),"m",{L3},34))#2:^(34),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},34))#2:^(34),1:0)) |
NotInheritable | %Boolean | 指定该方法不在子类中继承。 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"m",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"m",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},9))#2:^(9),1:0)) |
OptimizedMAC | %CacheString | 优化的MAC | 35 | s {OptimizedMAC}=$s($d(^oddCOM({L1},"m",{L3},35))#2:^(35),$d(^oddCOM($g(^(2),{L1}),"m",{L3},35))#2:^(35),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},35))#2:^(35),1:"")) |
OptimizedRun | %CacheString | 优化运行 | 36 | s {OptimizedRun}=$s($d(^oddCOM({L1},"m",{L3},36))#2:^(36),$d(^oddCOM($g(^(2),{L1}),"m",{L3},36))#2:^(36),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},36))#2:^(36),1:"")) |
Origin | %CacheString | 源 | 2 | s {Origin}=$s($d(^oddCOM({L1},"m",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"m",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},2))#2:^(2),1:"")) |
OriginalName | %CacheString | 源名称 | 37 | s {OriginalName}=$s($d(^oddCOM({L1},"m",{L3},37))#2:^(37),$d(^oddCOM($g(^(2),{L1}),"m",{L3},37))#2:^(37),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},37))#2:^(37),1:"")) |
PlaceAfter | %CacheString | 指定类编译器应将此方法放置在它为类创建的例程中列出的方法之后。 | 38 | s {PlaceAfter}=$s($d(^oddCOM({L1},"m",{L3},38))#2:^(38),$d(^oddCOM($g(^(2),{L1}),"m",{L3},38))#2:^(38),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},38))#2:^(38),1:"")) |
Private | %Boolean | 指定该方法是私有的。私有方法只能由此类或其子类的实例方法调用。 | 39 | s {Private}=$s($d(^oddCOM({L1},"m",{L3},39))#2:^(39),$d(^oddCOM($g(^(2),{L1}),"m",{L3},39))#2:^(39),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},39))#2:^(39),1:0)) |
ProcedureBlock | %CacheString | 指定此方法使用方法代码的过程块。 | 40 | s {ProcedureBlock}=$s($d(^oddCOM({L1},"m",{L3},40))#2:^(40),$d(^oddCOM($g(^(2),{L1}),"m",{L3},40))#2:^(40),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},40))#2:^(40),1:"")) |
PublicList | %CacheString | 指定公共列表。仅当 ProcedureBlock 关键字设置为 true 时才使用此关键字。 | 41 | s {PublicList}=$s($d(^oddCOM({L1},"m",{L3},41))#2:^(41),$d(^oddCOM($g(^(2),{L1}),"m",{L3},41))#2:^(41),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},41))#2:^(41),1:"")) |
ReturnResultsets | %Boolean | 如果为 true ,则此方法可能会在 %sqlcontext 中返回零个、一个或多个结果集。 | 64 | s {ReturnResultsets}=$s($d(^oddCOM({L1},"m",{L3},64))#2:^(64),$d(^oddCOM($g(^(2),{L1}),"m",{L3},64))#2:^(64),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},64))#2:^(64),1:0)) |
ReturnType | %Dictionary.CacheClassname | 指定调用方法返回值的数据类型。将 ReturnType 设置为空字符串指定没有返回值。 | 42 | s {ReturnType}=$s($d(^oddCOM({L1},"m",{L3},42))#2:^(42),$d(^oddCOM($g(^(2),{L1}),"m",{L3},42))#2:^(42),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},42))#2:^(42),1:"")) |
ReturnTypeParams | %CacheString | ReturnType 关键字上的所有参数的逗号分隔列表。 | 62 | s {ReturnTypeParams}=$s($d(^oddCOM({L1},"m",{L3},62))#2:^(62),$d(^oddCOM($g(^(2),{L1}),"m",{L3},62))#2:^(62),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},62))#2:^(62),1:"")) |
RtnLabel | %CacheString | RtnLabel | 43 | s {RtnLabel}=$s($d(^oddCOM({L1},"m",{L3},43))#2:^(43),$d(^oddCOM($g(^(2),{L1}),"m",{L3},43))#2:^(43),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},43))#2:^(43),1:"")) |
Runnable | %Boolean | Runnable | 44 | s {Runnable}=$s($d(^oddCOM({L1},"m",{L3},44))#2:^(44),$d(^oddCOM($g(^(2),{L1}),"m",{L3},44))#2:^(44),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},44))#2:^(44),1:0)) |
RuntimeClient | %Boolean | 运行时客户端 | 55 | s {RuntimeClient}=$s($d(^oddCOM({L1},"m",{L3},55))#2:^(55),$d(^oddCOM($g(^(2),{L1}),"m",{L3},55))#2:^(55),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},55))#2:^(55),1:0)) |
RuntimeCodeMode | %CacheString | 用于生成方法的 CodeMode | 56 | s {RuntimeCodeMode}=$s($d(^oddCOM({L1},"m",{L3},56))#2:^(56),$d(^oddCOM($g(^(2),{L1}),"m",{L3},56))#2:^(56),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},56))#2:^(56),1:"code")) |
RuntimeHash | %CacheString | 运行时哈希 | 69 | s {RuntimeHash}=$s($d(^oddCOM({L1},"m",{L3},69))#2:^(69),$d(^oddCOM($g(^(2),{L1}),"m",{L3},69))#2:^(69),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},69))#2:^(69),1:"")) |
RuntimeLanguage | %CacheString | 运行时语言 | 58 | s {RuntimeLanguage}=$s($d(^oddCOM({L1},"m",{L3},58))#2:^(58),$d(^oddCOM($g(^(2),{L1}),"m",{L3},58))#2:^(58),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},58))#2:^(58),1:"cache")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"m",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"m",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},11))#2:^(11),1:0)) |
ServerOnly | %CacheString | 指定方法不会投影到 Java 或 C++ 客户端。 | 59 | s {ServerOnly}=$s($d(^oddCOM({L1},"m",{L3},59))#2:^(59),$d(^oddCOM($g(^(2),{L1}),"m",{L3},59))#2:^(59),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},59))#2:^(59),1:"")) |
SoapAction | %CacheString | 允许指定将此 Web 服务方法作为 Web 方法调用时必须使用的 HTTP SOAP 操作。对于 SOAP 1.1 ,SOAP 操作是从 SOAPAction HTTP 标头获取的。对于 SOAP 1.2 ,它是从 Content-Type HTTP 标头获取的。 | 67 | s {SoapAction}=$s($d(^oddCOM({L1},"m",{L3},67))#2:^(67),$d(^oddCOM($g(^(2),{L1}),"m",{L3},67))#2:^(67),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},67))#2:^(67),1:"[default]")) |
SoapBindingStyle | %CacheString | 指定 Web 方法使用什么类型的 SOAP 调用。对于非 Web 方法,此关键字将被忽略。 | 53 | s {SoapBindingStyle}=$s($d(^oddCOM({L1},"m",{L3},53))#2:^(53),$d(^oddCOM($g(^(2),{L1}),"m",{L3},53))#2:^(53),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},53))#2:^(53),1:"")) |
SoapBodyUse | %CacheString | 指定 Web 方法的输入和输出使用哪种 SOAP 编码。对于非 Web 方法,此关键字将被忽略。 | 54 | s {SoapBodyUse}=$s($d(^oddCOM({L1},"m",{L3},54))#2:^(54),$d(^oddCOM($g(^(2),{L1}),"m",{L3},54))#2:^(54),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},54))#2:^(54),1:"")) |
SoapMessageName | %CacheString | 指定 Web 服务方法的响应消息正文的子元素的名称。 | 68 | s {SoapMessageName}=$s($d(^oddCOM({L1},"m",{L3},68))#2:^(68),$d(^oddCOM($g(^(2),{L1}),"m",{L3},68))#2:^(68),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},68))#2:^(68),1:"")) |
SoapNameSpace | %CacheString | 覆盖此 Web 服务或 Web 服务客户端的 SOAPNAMESPACE 类参数。 | 61 | s {SoapNameSpace}=$s($d(^oddCOM({L1},"m",{L3},61))#2:^(61),$d(^oddCOM($g(^(2),{L1}),"m",{L3},61))#2:^(61),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},61))#2:^(61),1:"")) |
SoapRequestMessage | %CacheString | 该关键字将反映 SOAP 请求中 SOAP 主体顶部元素的预期元素名称。需要此元素来区分具有相同 SoapAction 但不同顶级主体元素的多个请求。 | 73 | s {SoapRequestMessage}=$s($d(^oddCOM({L1},"m",{L3},73))#2:^(73),$d(^oddCOM($g(^(2),{L1}),"m",{L3},73))#2:^(73),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},73))#2:^(73),1:"")) |
SoapTypeNameSpace | %CacheString | 覆盖此 Web 服务或 Web 服务客户端的 SOAPTYPENAMESPACE 类参数。 | 65 | s {SoapTypeNameSpace}=$s($d(^oddCOM({L1},"m",{L3},65))#2:^(65),$d(^oddCOM($g(^(2),{L1}),"m",{L3},65))#2:^(65),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},65))#2:^(65),1:"")) |
SqlName | %CacheString | 如果此方法被映射为 SQL 存储过程,则此名称将用作存储过程的名称。 | 45 | s {SqlName}=$s($d(^oddCOM({L1},"m",{L3},45))#2:^(45),$d(^oddCOM($g(^(2),{L1}),"m",{L3},45))#2:^(45),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},45))#2:^(45),1:"")) |
SqlProc | %Boolean | 指定该方法可以作为 SQL 存储过程调用。只有类方法才能作为 SQL 存储过程进行调用。 | 46 | s {SqlProc}=$s($d(^oddCOM({L1},"m",{L3},46))#2:^(46),$d(^oddCOM($g(^(2),{L1}),"m",{L3},46))#2:^(46),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},46))#2:^(46),1:0)) |
SqlRoutine | %CacheString | 如果“程序”是那么这相当于 SqlProc 关键字,意味着类方法可以作为 SQL 过程调用。如果“函数”那么这个类方法就可以作为 SQL 函数来调用。 | 74 | s {SqlRoutine}=$s($d(^oddCOM({L1},"m",{L3},74))#2:^(74),$d(^oddCOM($g(^(2),{L1}),"m",{L3},74))#2:^(74),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},74))#2:^(74),1:"")) |
Stub | %CacheString | 存根 | 47 | s {Stub}=$s($d(^oddCOM({L1},"m",{L3},47))#2:^(47),$d(^oddCOM($g(^(2),{L1}),"m",{L3},47))#2:^(47),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},47))#2:^(47),1:"")) |
StubMember | %CacheString | 存根程袁 | 72 | s {StubMember}=$s($d(^oddCOM({L1},"m",{L3},72))#2:^(72),$d(^oddCOM($g(^(2),{L1}),"m",{L3},72))#2:^(72),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},72))#2:^(72),1:"")) |
TagGenerator | %CacheString | 标签生成器 | 48 | s {TagGenerator}=$s($d(^oddCOM({L1},"m",{L3},48))#2:^(48),$d(^oddCOM($g(^(2),{L1}),"m",{L3},48))#2:^(48),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},48))#2:^(48),1:"")) |
UserActualType | %CacheString | 用户实际类型 | 50 | s {UserActualType}=$s($d(^oddCOM({L1},"m",{L3},50))#2:^(50),$d(^oddCOM($g(^(2),{L1}),"m",{L3},50))#2:^(50),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},50))#2:^(50),1:"")) |
WebMethod | %Boolean | 指定可以使用 SOAP 协议将方法作为 Web 方法进行调用。 | 51 | s {WebMethod}=$s($d(^oddCOM({L1},"m",{L3},51))#2:^(51),$d(^oddCOM($g(^(2),{L1}),"m",{L3},51))#2:^(51),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},51))#2:^(51),1:0)) |
ZenMethod | %Boolean | 指定该方法应映射到 Web 客户端以在 Zen 框架中使用。 | 52 | s {ZenMethod}=$s($d(^oddCOM({L1},"m",{L3},52))#2:^(52),$d(^oddCOM($g(^(2),{L1}),"m",{L3},52))#2:^(52),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},52))#2:^(52),1:0)) |
_Language | | 32 | s {_Language}=$s($d(^oddCOM({L1},"m",{L3},32))#2:^(32),$d(^oddCOM($g(^(2),{L1}),"m",{L3},32))#2:^(32),1:$s($d(^oddDEF($g(^oddCOM({L1},"m",{L3},2),{L1}),"m",{L3},32))#2:^(32),1:"")) |
%Dictionary.CompiledParameter
- 编译参数表
简介
新建或修改参数并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"p",{%Dictionary.CompiledParameter.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledParameter.Name
- 参数名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","p")
^oddCOM("User.Human","p","AppName",2)="User.Human"
^oddCOM("User.Human","p","CAPTION",2)="%Library.RegisteredObject"
^oddCOM("User.Human","p","DEFAULTCONCURRENCY",2)="%Library.SwizzleObject"
^oddCOM("User.Human","p","DEFAULTGLOBAL",2)="%Library.Persistent"
^oddCOM("User.Human","p","DSINTERVAL",2)="%Library.Persistent"
^oddCOM("User.Human","p","DSTIME",2)="%Library.Persistent"
^oddCOM("User.Human","p","EXTENTQUERYSPEC",2)="%Library.Persistent"
^oddCOM("User.Human","p","EXTENTSIZE",2)="%Library.Persistent"
^oddCOM("User.Human","p","GUIDENABLED",2)="%Library.Persistent"
^oddCOM("User.Human","p","IDENTIFIEDBY",2)="%Library.Persistent"
^oddCOM("User.Human","p","IDTYPE",2)="%Library.Storage"
^oddCOM("User.Human","p","IDTYPE",9)=1
^oddCOM("User.Human","p","JAVATYPE",2)="%Library.RegisteredObject"
^oddCOM("User.Human","p","JOURNALSTREAM",2)="%Library.SwizzleObject"
^oddCOM("User.Human","p","MANAGEDEXTENT",2)="%Library.Persistent"
^oddCOM("User.Human","p","OBJJOURNAL",2)="%Library.SwizzleObject"
^oddCOM("User.Human","p","POPSPEC",2)="%Library.Populate"
^oddCOM("User.Human","p","PROPERTYVALIDATION",2)="%Library.RegisteredObject"
^oddCOM("User.Human","p","READONLY",2)="%Library.Persistent"
^oddCOM("User.Human","p","ROWLEVELSECURITY",2)="%Library.Persistent"
^oddCOM("User.Human","p","SQLENABLED",2)="%Library.Storage"
^oddCOM("User.Human","p","SQLENABLED",9)=1
^oddCOM("User.Human","p","SQLPREVENTFULLSCAN",2)="%Library.Persistent"
^oddCOM("User.Human","p","STORAGECOMPILERCLASS",2)="%Library.CacheSQLStorage"
^oddCOM("User.Human","p","STORAGECOMPILERCLASS",9)=1
^oddCOM("User.Human","p","STORAGEINTERFACE",2)="%Library.Storage"
^oddCOM("User.Human","p","STORAGEINTERFACE",9)=1
^oddCOM("User.Human","p","VERSIONCLIENTNAME",2)="%Library.Persistent"
^oddCOM("User.Human","p","VERSIONPROPERTY",2)="%Library.Persistent"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Abstract | %Boolean | Abstract | 24 | s {Abstract}=$s($d(^oddCOM({L1},"p",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"p",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},24))#2:^(24),1:0)) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"p",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"p",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果此参数已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"p",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"p",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定参数的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"p",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"p",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},4))#2:^(4),1:"")) |
Encoded | %Boolean | 如果为 true ,则参数值采用 Base64 编码。 | 27 | s {Encoded}=$s($d(^oddCOM({L1},"p",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"p",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},27))#2:^(27),1:0)) |
Expression | %CacheString | 在编译时计算种子参数的表达式,如果指定,则优先于 Default 关键字。 | 25 | s {Expression}=$s($d(^oddCOM({L1},"p",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"p",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},25))#2:^(25),1:"")) |
Final | %Boolean | 指定子类不能覆盖参数的定义。 | 7 | s {Final}=$s($d(^oddCOM({L1},"p",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"p",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},7))#2:^(7),1:0)) |
Flags | %CacheString | 指定参数类型的任何附加修饰符标志。 | 23 | s {Flags}=$s($d(^oddCOM({L1},"p",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"p",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},23))#2:^(23),1:"")) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"p",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"p",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"p",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"p",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"p",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"p",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"p",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"p",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"p",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"p",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},13))#2:^(13),1:0)) |
NotInheritable | %Boolean | NotInheritable | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"p",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"p",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"p",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"p",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},2))#2:^(2),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"p",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"p",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},11))#2:^(11),1:0)) |
TagGenerator | %CacheString | 标签生成器 | 26 | s {TagGenerator}=$s($d(^oddCOM({L1},"p",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"p",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},26))#2:^(26),1:"")) |
Type | %CacheString | 指定参数的类型。 Studio 使用该类型为参数提供输入验证。 | 5 | s {Type}=$s($d(^oddCOM({L1},"p",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"p",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},5))#2:^(5),1:"")) |
_Constraint | | 21 | s {_Constraint}=$s($d(^oddCOM({L1},"p",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"p",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},21))#2:^(21),1:"")) | |
_Default | | 22 | s {_Default}=$s($d(^oddCOM({L1},"p",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"p",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"p",{L3},2),{L1}),"p",{L3},22))#2:^(22),1:"")) |
%Dictionary.CompiledProjection
- 编译映射表
简介
新建或修改映射并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"j",{%Dictionary.CompiledProjection.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledProjection.Name
- 映射字段名
注:Projection关键字声明的字段储存。
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","j")
^oddCOM("User.Human","j","JavaClient",2)="User.Human"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Deprecated | %Boolean | 如果此映射已被弃用,则为真。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"j",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"j",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定映射的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"j",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"j",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},4))#2:^(4),1:"")) |
Internal | %Boolean | 如果为 true ,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"j",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"j",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"j",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"j",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"j",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"j",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},13))#2:^(13),1:0)) |
NotInheritable | %Boolean | 指定该映射不在子类中继承。 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"j",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"j",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"j",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"j",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},2))#2:^(2),1:"")) |
Parameters | %CacheString | Parameter | 0 | n sub s {Parameters}="",sub="" f s sub=$o(^oddCOM({L1},"j",{L3},"P",sub)) q:sub="" s {Parameters}={Parameters}_$lb($lb(sub,$s($d(^oddCOM({L1},"j",{L3},"P",sub))#2:^(sub),$d(^oddCOM($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},"P",sub))#2:^(sub),1:$g(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},"P",sub))))) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"j",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"j",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},11))#2:^(11),1:0)) |
Type | %Dictionary.CacheClassname | 指定与映射关联的类的名称。 | 5 | s {Type}=$s($d(^oddCOM({L1},"j",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"j",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"j",{L3},2),{L1}),"j",{L3},5))#2:^(5),1:"")) |
%Dictionary.CompiledProperty
- 编译属性表
简介
新建或修改属性并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"a",{%Dictionary.CompiledProperty.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledProperty.Name
- 属性名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","a")
^oddCOM("User.Human","a","%%OID",2)="%Library.RegisteredObject"
^oddCOM("User.Human","a","%%OID","P","CALCSELECTIVITY")=1
^oddCOM("User.Human","a","%%OID","P","CAPTION")=""
^oddCOM("User.Human","a","%%OID","P","EXTERNALSQLNAME")=""
^oddCOM("User.Human","a","%%OID","P","EXTERNALSQLTYPE")=""
^oddCOM("User.Human","a","%%OID","P","JAVATYPE")=""
^oddCOM("User.Human","a","%%OID","P","POPORDER")=""
^oddCOM("User.Human","a","%%OID","P","POPSPEC")=""
^oddCOM("User.Human","a","%%OID","m","IsValid",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","%%OID","m","IsValid",44)=-1
^oddCOM("User.Human","a","%%OID","m","IsValid",69)=$c(130,151,146,157)_"""U0÷"
^oddCOM("User.Human","a","%%OID","m","Set",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","%%OID","m","Set",39)=1
^oddCOM("User.Human","a","%%OID","m","Set",44)=-1
^oddCOM("User.Human","a","%%OID","m","Set",69)=-1
^oddCOM("User.Human","a","%Concurrency",2)="%Library.Persistent"
^oddCOM("User.Human","a","%Concurrency","P","CALCSELECTIVITY")=1
^oddCOM("User.Human","a","%Concurrency","P","CAPTION")=""
^oddCOM("User.Human","a","%Concurrency","P","EXTERNALSQLNAME")=""
^oddCOM("User.Human","a","%Concurrency","P","EXTERNALSQLTYPE")=""
^oddCOM("User.Human","a","%Concurrency","P","JAVATYPE")=""
^oddCOM("User.Human","a","%Concurrency","P","POPORDER")=""
^oddCOM("User.Human","a","%Concurrency","P","POPSPEC")=""
^oddCOM("User.Human","a","%Concurrency","m","Get",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","%Concurrency","m","Get",42)="%Library.CacheString"
^oddCOM("User.Human","a","%Concurrency","m","Get",44)=-1
^oddCOM("User.Human","a","%Concurrency","m","Get",69)=-1
^oddCOM("User.Human","a","%Concurrency","m","IsValid",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","%Concurrency","m","IsValid",44)=-1
^oddCOM("User.Human","a","%Concurrency","m","IsValid",69)=$c(130,151,146,157)_"""U0÷"
^oddCOM("User.Human","a","age",2)="User.Human"
^oddCOM("User.Human","a","age",5)="%Library.Integer"
^oddCOM("User.Human","a","age",40)="%Library.Integer"
^oddCOM("User.Human","a","age",47)="age"
^oddCOM("User.Human","a","age",50)=1
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Aliases | %CacheString | 该属性的别名列表。 | 58 | s {Aliases}=$s($d(^oddCOM({L1},"a",{L3},58))#2:^(58),$d(^oddCOM($g(^(2),{L1}),"a",{L3},58))#2:^(58),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},58))#2:^(58),1:"")) |
Calculated | %Boolean | 指定在实例化包含该属性的对象时,没有为其分配内存存储。 | 23 | s {Calculated}=$s($d(^oddCOM({L1},"a",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"a",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},23))#2:^(23),1:0)) |
Cardinality | %CacheString | 指定关系属性的基数。关系属性需要 Cardinality 关键字。它被非关系属性忽略。 | 24 | s {Cardinality}=$s($d(^oddCOM({L1},"a",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"a",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},24))#2:^(24),1:"")) |
ClientName | %CacheString | 客户端名称 | 26 | s {ClientName}=$s($d(^oddCOM({L1},"a",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"a",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},26))#2:^(26),1:"")) |
Collection | %CacheString | 指定属性是集合属性以及它是什么类型的集合。 | 27 | s {Collection}=$s($d(^oddCOM({L1},"a",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"a",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},27))#2:^(27),1:"")) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"a",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"a",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},10))#2:^(10),1:0)) |
ComputeDependency | %CacheString | SQLCOMPUTECODE 引用的属性列表。 | 54 | s {ComputeDependency}=$s($d(^oddCOM({L1},"a",{L3},54))#2:^(54),$d(^oddCOM($g(^(2),{L1}),"a",{L3},54))#2:^(54),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},54))#2:^(54),1:"")) |
ComputeTriggers | %CacheString | 当此属性更改时要计算的属性列表。 | 55 | s {ComputeTriggers}=$s($d(^oddCOM({L1},"a",{L3},55))#2:^(55),$d(^oddCOM($g(^(2),{L1}),"a",{L3},55))#2:^(55),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},55))#2:^(55),1:"")) |
Deprecated | %Boolean | 如果此属性已被弃用,则为真。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"a",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"a",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定属性的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"a",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"a",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},4))#2:^(4),1:"")) |
DirectRefOnGet | %Boolean | 已弃用 | 29 | s {DirectRefOnGet}=$s($d(^oddCOM({L1},"a",{L3},29))#2:^(29),$d(^oddCOM($g(^(2),{L1}),"a",{L3},29))#2:^(29),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},29))#2:^(29),1:0)) |
DirectRefOnSet | %Boolean | 已弃用 | 30 | s {DirectRefOnSet}=$s($d(^oddCOM({L1},"a",{L3},30))#2:^(30),$d(^oddCOM($g(^(2),{L1}),"a",{L3},30))#2:^(30),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},30))#2:^(30),1:0)) |
Final | %Boolean | 指定子类不能覆盖此属性的定义。 | 7 | s {Final}=$s($d(^oddCOM({L1},"a",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"a",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},7))#2:^(7),1:0)) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"a",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"a",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"a",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"a",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},8))#2:^(8),1:0)) |
InitialExpression | %CacheString | 指定属性的初始值。 | 31 | s {InitialExpression}=$s($d(^oddCOM({L1},"a",{L3},31))#2:^(31),$d(^oddCOM($g(^(2),{L1}),"a",{L3},31))#2:^(31),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},31))#2:^(31),1:"""""")) |
Internal | %Boolean | 如果为真,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"a",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"a",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},14))#2:^(14),1:0)) |
Inverse | %CacheString | 指定关系的反面名称。即相关类中对应关系属性的名称。逆属性必须存在于相关类中并且具有正确的基数值。关系属性需要 Inverse 关键字。它被非关系属性忽略。 | 32 | s {Inverse}=$s($d(^oddCOM({L1},"a",{L3},32))#2:^(32),$d(^oddCOM($g(^(2),{L1}),"a",{L3},32))#2:^(32),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},32))#2:^(32),1:"")) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"a",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"a",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"a",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"a",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},13))#2:^(13),1:0)) |
MultiDimensional | %Boolean | 指定属性具有多维数组的特征。 | 33 | s {MultiDimensional}=$s($d(^oddCOM({L1},"a",{L3},33))#2:^(33),$d(^oddCOM($g(^(2),{L1}),"a",{L3},33))#2:^(33),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},33))#2:^(33),1:0)) |
NoModBit | %Boolean | 已弃用 | 53 | s {NoModBit}=$s($d(^oddCOM({L1},"a",{L3},53))#2:^(53),$d(^oddCOM($g(^(2),{L1}),"a",{L3},53))#2:^(53),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},53))#2:^(53),1:0)) |
NotInheritable | %Boolean | 已弃用 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"a",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"a",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},9))#2:^(9),1:0)) |
OnDelete | %CacheString | 指定从外表中删除键值时要采取的参考操作。 | 59 | s {OnDelete}=$s($d(^oddCOM({L1},"a",{L3},59))#2:^(59),$d(^oddCOM($g(^(2),{L1}),"a",{L3},59))#2:^(59),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},59))#2:^(59),1:"")) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"a",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"a",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},2))#2:^(2),1:"")) |
Parameters | %CacheString | 参数 | 0 | n sub s {Parameters}="",sub="" f s sub=$o(^oddCOM({L1},"a",{L3},"P",sub)) q:sub="" s {Parameters}={Parameters}_$lb($lb(sub,$s($d(^oddCOM({L1},"a",{L3},"P",sub))#2:^(sub),$d(^oddCOM($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},"P",sub))#2:^(sub),1:$g(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},"P",sub))))) |
Private | %Boolean | 指定该属性是私有的。私有属性只能由此类或其子类的实例方法使用。 | 35 | s {Private}=$s($d(^oddCOM({L1},"a",{L3},35))#2:^(35),$d(^oddCOM($g(^(2),{L1}),"a",{L3},35))#2:^(35),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},35))#2:^(35),1:0)) |
ReadOnly | %Boolean | 指定该属性是只读的。 | 52 | s {ReadOnly}=$s($d(^oddCOM({L1},"a",{L3},52))#2:^(52),$d(^oddCOM($g(^(2),{L1}),"a",{L3},52))#2:^(52),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},52))#2:^(52),1:0)) |
Relationship | %Boolean | 指定属性是关系属性。 | 36 | s {Relationship}=$s($d(^oddCOM({L1},"a",{L3},36))#2:^(36),$d(^oddCOM($g(^(2),{L1}),"a",{L3},36))#2:^(36),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},36))#2:^(36),1:0)) |
Required | %Boolean | 对于持久类,指定必须先为属性的值指定一个值,然后才能将其存储到磁盘。 | 37 | s {Required}=$s($d(^oddCOM({L1},"a",{L3},37))#2:^(37),$d(^oddCOM($g(^(2),{L1}),"a",{L3},37))#2:^(37),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},37))#2:^(37),1:0)) |
RuntimeType | %CacheString | 运行时类型 | 40 | s {RuntimeType}=$s($d(^oddCOM({L1},"a",{L3},40))#2:^(40),$d(^oddCOM($g(^(2),{L1}),"a",{L3},40))#2:^(40),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},40))#2:^(40),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"a",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"a",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},11))#2:^(11),1:0)) |
ServerOnly | %CacheString | 指定属性不会投影到 Java 或 C++ 客户端。 | 57 | s {ServerOnly}=$s($d(^oddCOM({L1},"a",{L3},57))#2:^(57),$d(^oddCOM($g(^(2),{L1}),"a",{L3},57))#2:^(57),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},57))#2:^(57),1:"")) |
SqlCollation | %CacheString | 已弃用 | 42 | s {SqlCollation}=$s($d(^oddCOM({L1},"a",{L3},42))#2:^(42),$d(^oddCOM($g(^(2),{L1}),"a",{L3},42))#2:^(42),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},42))#2:^(42),1:"")) |
SqlColumnNumber | %CacheString | 显式设置此属性的 SQL 列号。这是为了支持遗留应用程序而提供的。 | 43 | s {SqlColumnNumber}=$s($d(^oddCOM({L1},"a",{L3},43))#2:^(43),$d(^oddCOM($g(^(2),{L1}),"a",{L3},43))#2:^(43),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},43))#2:^(43),1:"")) |
SqlComputeCode | %CacheString | 指定计算字段值的 ObjectScript 代码。 | 44 | s {SqlComputeCode}=$s($d(^oddCOM({L1},"a",{L3},44))#2:^(44),$d(^oddCOM($g(^(2),{L1}),"a",{L3},44))#2:^(44),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},44))#2:^(44),1:"")) |
SqlComputeOnChange | %CacheString | 指定一个或多个属性,其修改将触发 SQL 中此计算字段的重新计算。 | 46 | s {SqlComputeOnChange}=$s($d(^oddCOM({L1},"a",{L3},46))#2:^(46),$d(^oddCOM($g(^(2),{L1}),"a",{L3},46))#2:^(46),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},46))#2:^(46),1:"")) |
SqlComputed | %Boolean | 指定此属性是 SQL 计算字段。 | 45 | s {SqlComputed}=$s($d(^oddCOM({L1},"a",{L3},45))#2:^(45),$d(^oddCOM($g(^(2),{L1}),"a",{L3},45))#2:^(45),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},45))#2:^(45),1:0)) |
SqlFieldName | %CacheString | 对于持久类,指定用于标识其 SQL 映射中的属性的列名。默认情况下,SQL 列名称与属性名称相同。 | 47 | s {SqlFieldName}=$s($d(^oddCOM({L1},"a",{L3},47))#2:^(47),$d(^oddCOM($g(^(2),{L1}),"a",{L3},47))#2:^(47),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},47))#2:^(47),1:"")) |
SqlListDelimiter | %CacheString | 指定 SQL 中用于列表的分隔符。这是为了支持遗留应用程序而提供的。 | 48 | s {SqlListDelimiter}=$s($d(^oddCOM({L1},"a",{L3},48))#2:^(48),$d(^oddCOM($g(^(2),{L1}),"a",{L3},48))#2:^(48),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},48))#2:^(48),1:"")) |
SqlListType | %CacheString | 指定用于列表的表示形式。 | 49 | s {SqlListType}=$s($d(^oddCOM({L1},"a",{L3},49))#2:^(49),$d(^oddCOM($g(^(2),{L1}),"a",{L3},49))#2:^(49),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},49))#2:^(49),1:"")) |
Storable | %Boolean | 可储存 | 50 | s {Storable}=$s($d(^oddCOM({L1},"a",{L3},50))#2:^(50),$d(^oddCOM($g(^(2),{L1}),"a",{L3},50))#2:^(50),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},50))#2:^(50),1:0)) |
Transient | %Boolean | 对于持久类,指定该属性不存储在数据库中。 | 51 | s {Transient}=$s($d(^oddCOM({L1},"a",{L3},51))#2:^(51),$d(^oddCOM($g(^(2),{L1}),"a",{L3},51))#2:^(51),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},51))#2:^(51),1:0)) |
Type | %Dictionary.CacheClassname | 指定与属性关联的类的名称,该类可以是数据类型类、持久类或可嵌入串行类。 | 5 | s {Type}=$s($d(^oddCOM({L1},"a",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"a",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},5))#2:^(5),1:"")) |
_Identity | | 56 | s {_Identity}=$s($d(^oddCOM({L1},"a",{L3},56))#2:^(56),$d(^oddCOM($g(^(2),{L1}),"a",{L3},56))#2:^(56),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},2),{L1}),"a",{L3},56))#2:^(56),1:0)) |
%Dictionary.CompiledPropertyMethod
- 编译属性方法表
简介
新建或修改属性并且编译时会修改此表字段。
该表为%Dictionary.CompiledProperty
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"a",{%Dictionary.CompiledProperty.Name},"m",{%Dictionary.CompiledPropertyMethod.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledProperty.Name
- 属性名%Dictionary.CompiledPropertyMethod.Name
- 方法名。
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","a","age","m","DisplayToLogical",2)="%Library.Integer"
^oddCOM("User.Human","a","age","m","DisplayToLogical",69)=";??&??S5"_$c(151,138)
^oddCOM("User.Human","a","age","m","Get",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","age","m","Get",42)="%Library.Integer"
^oddCOM("User.Human","a","age","m","Get",44)=-1
^oddCOM("User.Human","a","age","m","Get",69)=-1
^oddCOM("User.Human","a","age","m","IsValid",2)="%Library.Integer"
^oddCOM("User.Human","a","age","m","IsValid",69)=$c(141)_"5"_$c(7)_"????{"_$c(31)_"??"
^oddCOM("User.Human","a","age","m","LogicalToDisplay",2)="%Library.Integer"
^oddCOM("User.Human","a","age","m","LogicalToDisplay",43)="-2:Same"
^oddCOM("User.Human","a","age","m","LogicalToDisplay",69)="A"_$c(151)_"I¤6J??@"
^oddCOM("User.Human","a","age","m","Normalize",2)="%Library.Integer"
^oddCOM("User.Human","a","age","m","Set",2)="%Library.CacheLiteral"
^oddCOM("User.Human","a","age","m","Set",44)=-1
^oddCOM("User.Human","a","age","m","Set",69)=-1
注:字段同%Dictionary.CompiledMethod
字段。
%Dictionary.CompiledPropertyUDLText
- 编译UDL表
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"a",{%Dictionary.CompiledProperty.Name},"u",{%Dictionary.CompiledPropertyUDLText.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledProperty.Name
- 属性名%Dictionary.CompiledPropertyUDLText.Name
-UDLText
名。
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Category | %CacheString | Category | 23 | s {Category}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},23))#2:^(23),$d(^oddCOM($g(^(2),"*"),"u",{L5},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},23))#2:^(23),1:"comment")) |
Content | %Stream.TmpCharacter | 保存 UDL 文本的内容。 | 0 | s {Content}="" |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},12))#2:^(12),$d(^oddCOM($g(^(2),"*"),"u",{L5},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},13))#2:^(13),$d(^oddCOM($g(^(2),"*"),"u",{L5},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},13))#2:^(13),1:0)) |
Position | %CacheString | 位置 | 24 | s {Position}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},24))#2:^(24),$d(^oddCOM($g(^(2),"*"),"u",{L5},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},24))#2:^(24),1:"body")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},11))#2:^(11),$d(^oddCOM($g(^(2),"*"),"u",{L5},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},11))#2:^(11),1:0)) |
TextType | %Integer | 文本类型 | 22 | s {TextType}=$s($d(^oddCOM({L1},"a",{L3},"u",{L5},22))#2:^(22),$d(^oddCOM($g(^(2),"*"),"u",{L5},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"a",{L3},"u",{L5},2),"*"),"u",{L5},22))#2:^(22),1:0)) |
%Dictionary.CompiledQuery
- 编译Query
表
简介
新建或修改Query
定义并且编译时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"q",{%Dictionary.CompiledQuery.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledQuery.Name
-Query
名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","q")
^oddCOM("User.Human","q","Extent",2)="%Library.Persistent"
^oddCOM("User.Human","q","Extent",5)="%Library.ExtentSQLQuery"
^oddCOM("User.Human","q","Extent",21)=$lb($lb($lb("ID",5,"ID")),"",$lb(1,"User.Human"))
^oddCOM("User.Human","q","Extent",22)="ID"
^oddCOM("User.Human","q","Extent",23)=$lb("ID")
^oddCOM("User.Human","q","Extent",25)=""
^oddCOM("User.Human","q","Extent",27)="Human_Extent"
^oddCOM("User.Human","q","Extent",29)=" SELECT id FROM SQLUser.Human"
^oddCOM("User.Human","q","Extent",31)="Extent"
^oddCOM("User.Human","q","Extent",34)=""
^oddCOM("User.Human","q","Extent",38)=$lb("",$lb($lb("","")))
^oddCOM("User.Human","q","Extent",40)=1
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Cardinality | %Integer | Cardinality | 40 | s {Cardinality}=$s($d(^oddCOM({L1},"q",{L3},40))#2:^(40),$d(^oddCOM($g(^(2),{L1}),"q",{L3},40))#2:^(40),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},40))#2:^(40),1:0)) |
ClientInfo | %CacheString | ClientInfo | 21 | s {ClientInfo}=$s($d(^oddCOM({L1},"q",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"q",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},21))#2:^(21),1:"")) |
ClientName | %CacheString | ClientName | 41 | s {ClientName}=$s($d(^oddCOM({L1},"q",{L3},41))#2:^(41),$d(^oddCOM($g(^(2),{L1}),"q",{L3},41))#2:^(41),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},41))#2:^(41),1:"")) |
ColCaptions | %CacheString | 列描述 | 22 | s {ColCaptions}=$s($d(^oddCOM({L1},"q",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"q",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},22))#2:^(22),1:"")) |
ColNames | %CacheString | 列名称 | 23 | s {ColNames}=$s($d(^oddCOM({L1},"q",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"q",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},23))#2:^(23),1:"")) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"q",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"q",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果此查询已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"q",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"q",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定查询的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"q",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"q",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},4))#2:^(4),1:"")) |
ExtendedInfo | %CacheString | 扩展信息 | 38 | s {ExtendedInfo}=$s($d(^oddCOM({L1},"q",{L3},38))#2:^(38),$d(^oddCOM($g(^(2),{L1}),"q",{L3},38))#2:^(38),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},38))#2:^(38),1:"")) |
Final | %Boolean | 指定子类不能覆盖查询的定义。 | 7 | s {Final}=$s($d(^oddCOM({L1},"q",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"q",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},7))#2:^(7),1:0)) |
FormalSpec | %CacheString | 指定传递给Execute 方法的参数列表。每个参数的格式为`[& | ][:][=],其中 &表示按引用传递, `表示仅输出。 | |
FormalSpecParsed | %CacheString | 正式规范解析 | 34 | s {FormalSpecParsed}=$s($d(^oddCOM({L1},"q",{L3},34))#2:^(34),$d(^oddCOM($g(^(2),{L1}),"q",{L3},34))#2:^(34),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},34))#2:^(34),1:"")) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"q",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"q",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"q",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"q",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"q",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"q",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"q",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"q",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"q",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"q",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},13))#2:^(13),1:0)) |
NotInheritable | %Boolean | 已弃用 | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"q",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"q",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"q",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"q",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},2))#2:^(2),1:"")) |
Parameters | %CacheString | 参数 | 0 | n sub s {Parameters}="",sub="" f s sub=$o(^oddCOM({L1},"q",{L3},"P",sub)) q:sub="" s {Parameters}={Parameters}_$lb($lb(sub,$s($d(^oddCOM({L1},"q",{L3},"P",sub))#2:^(sub),$d(^oddCOM($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},"P",sub))#2:^(sub),1:$g(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},"P",sub))))) |
ParmNames | %CacheString | 参数名称 | 25 | s {ParmNames}=$s($d(^oddCOM({L1},"q",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"q",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},25))#2:^(25),1:"")) |
Private | %Boolean | 已弃用 | 26 | s {Private}=$s($d(^oddCOM({L1},"q",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"q",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},26))#2:^(26),1:0)) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"q",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"q",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},11))#2:^(11),1:0)) |
SoapBindingStyle | %CacheString | 指定 Web 方法使用什么类型的 SOAP 调用。对于非 Web 方法,此关键字将被忽略。 | 35 | s {SoapBindingStyle}=$s($d(^oddCOM({L1},"q",{L3},35))#2:^(35),$d(^oddCOM($g(^(2),{L1}),"q",{L3},35))#2:^(35),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},35))#2:^(35),1:"")) |
SoapBodyUse | %CacheString | 指定 Web 方法的输入和输出使用哪种 SOAP 编码。对于非 Web 方法,此关键字将被忽略。 | 36 | s {SoapBodyUse}=$s($d(^oddCOM({L1},"q",{L3},36))#2:^(36),$d(^oddCOM($g(^(2),{L1}),"q",{L3},36))#2:^(36),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},36))#2:^(36),1:"")) |
SoapNameSpace | %CacheString | SoapNameSpace | 37 | s {SoapNameSpace}=$s($d(^oddCOM({L1},"q",{L3},37))#2:^(37),$d(^oddCOM($g(^(2),{L1}),"q",{L3},37))#2:^(37),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},37))#2:^(37),1:"")) |
SqlName | %CacheString | 如果此查询被映射为 SQL 存储过程,则此名称将用作存储过程的名称。 | 27 | s {SqlName}=$s($d(^oddCOM({L1},"q",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"q",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},27))#2:^(27),1:"")) |
SqlProc | %Boolean | 指定查询可以作为 SQL 存储过程调用。 | 28 | s {SqlProc}=$s($d(^oddCOM({L1},"q",{L3},28))#2:^(28),$d(^oddCOM($g(^(2),{L1}),"q",{L3},28))#2:^(28),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},28))#2:^(28),1:0)) |
SqlQuery | %CacheString | 指定用于基于 SQL 的查询的 SQL 语句。 | 29 | s {SqlQuery}=$s($d(^oddCOM({L1},"q",{L3},29))#2:^(29),$d(^oddCOM($g(^(2),{L1}),"q",{L3},29))#2:^(29),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},29))#2:^(29),1:"")) |
SqlQueryGen | %CacheString | SqlQueryGen | 39 | s {SqlQueryGen}=$s($d(^oddCOM({L1},"q",{L3},39))#2:^(39),$d(^oddCOM($g(^(2),{L1}),"q",{L3},39))#2:^(39),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},39))#2:^(39),1:"")) |
SqlView | %Boolean | 指定是否将此查询映射为 SQL 视图。 | 30 | s {SqlView}=$s($d(^oddCOM({L1},"q",{L3},30))#2:^(30),$d(^oddCOM($g(^(2),{L1}),"q",{L3},30))#2:^(30),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},30))#2:^(30),1:0)) |
SqlViewName | %CacheString | 指定从此查询映射的视图的 SQL 别名。 | 31 | s {SqlViewName}=$s($d(^oddCOM({L1},"q",{L3},31))#2:^(31),$d(^oddCOM($g(^(2),{L1}),"q",{L3},31))#2:^(31),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},31))#2:^(31),1:"")) |
Type | %Dictionary.CacheClassname | 指定用于提供查询接口实现的Query 类。 | 5 | s {Type}=$s($d(^oddCOM({L1},"q",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"q",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},5))#2:^(5),1:"")) |
UserActualType | %CacheString | UserActualType | 32 | s {UserActualType}=$s($d(^oddCOM({L1},"q",{L3},32))#2:^(32),$d(^oddCOM($g(^(2),{L1}),"q",{L3},32))#2:^(32),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},32))#2:^(32),1:"")) |
WebMethod | %Boolean | 指定可以使用 SOAP 协议调用此查询。 | 33 | s {WebMethod}=$s($d(^oddCOM({L1},"q",{L3},33))#2:^(33),$d(^oddCOM($g(^(2),{L1}),"q",{L3},33))#2:^(33),1:$s($d(^oddDEF($g(^oddCOM({L1},"q",{L3},2),{L1}),"q",{L3},33))#2:^(33),1:0)) |
%Dictionary.CompiledQueryMethod
- 编译Query
方法表
简介
新建或修改Query
定义并且编译时会修改此表字段。
该表为%Dictionary.CompiledQuery
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"q",{%Dictionary.CompiledQuery.Name},"m",{%Dictionary.CompiledQueryMethod.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledQuery.Name
-Query
名%Dictionary.CompiledQueryMethod.Name
- 方法名。
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","q","QueryPersonByName","m","Close",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","Close",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","Close",69)=$c(17)_"{??INì"_$c(10)_"°"
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",26)=$lb("","""""")
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",50)="%Library.Binary,%Library.String"
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",60)=$lb($lb("%qHandle","%Library.Binary","&",""),$lb("name","%Library.String","",""""""))
^oddCOM("User.Human","q","QueryPersonByName","m","Execute",69)=$c(155)_"??§ü????????"
^oddCOM("User.Human","q","QueryPersonByName","m","Fetch",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","Fetch",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","Fetch",69)="ì"_$c(29)_"=·R"_$c(0)_"??±"
^oddCOM("User.Human","q","QueryPersonByName","m","FetchRows",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","FetchRows",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","FetchRows",69)="TB????N·??"_$c(131)
^oddCOM("User.Human","q","QueryPersonByName","m","Func",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","Func",26)=$lb("""""")
^oddCOM("User.Human","q","QueryPersonByName","m","Func",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","Func",50)="%Library.String"
^oddCOM("User.Human","q","QueryPersonByName","m","Func",60)=$lb($lb("name","%Library.String","",""""""))
^oddCOM("User.Human","q","QueryPersonByName","m","Func",69)="c??V"_$c(142)_"u!3x"
^oddCOM("User.Human","q","QueryPersonByName","m","GetInfo",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","GetInfo",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","GetInfo",69)="I"_$c(155)_"??k3J"_$c(129)_"??"
^oddCOM("User.Human","q","QueryPersonByName","m","GetODBCInfo",2)="%Library.Query"
^oddCOM("User.Human","q","QueryPersonByName","m","GetODBCInfo",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","GetODBCInfo",69)=$c(146)_"??"_$c(21,158,7)_"M""ü"
^oddCOM("User.Human","q","QueryPersonByName","m","Prepare",2)="%Library.Query"
^oddCOM("User.Human","q","QueryPersonByName","m","SendODBC",2)="%Library.SQLQuery"
^oddCOM("User.Human","q","QueryPersonByName","m","SendODBC",44)=1
^oddCOM("User.Human","q","QueryPersonByName","m","SendODBC",69)="é"_$c(140,27)_"??????¨f"
表结构
注:字段同%Dictionary.CompiledMethod
字段。
%Dictionary.CompiledStorage
- 编译Storage
表
简介
新建或修改Storage
定义并编译时会修改此表字段。
该表为%Dictionary.CompiledClassn
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","s")
^oddCOM("User.Human","s","Default")=""
^oddCOM("User.Human","s","Default",5)="%Library.CacheStorage"
^oddCOM("User.Human","s","Default",11)=15
^oddCOM("User.Human","s","Default",21)="^User.HumanD"
^oddCOM("User.Human","s","Default",22)="HumanDefaultData"
^oddCOM("User.Human","s","Default",24)="^User.HumanD"
^oddCOM("User.Human","s","Default",25)="^User.HumanI"
^oddCOM("User.Human","s","Default",33)="^User.HumanS"
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"s",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"s",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},10))#2:^(10),1:0)) |
CounterLocation | %CacheString | 指定类型为 %Library.Counter 的属性的计数器的基本位置。通常,这将是Global 引用,例如 ^User.PersonC 。Global 引用还可以包括一个或多个前导下标。 | 36 | s {CounterLocation}=$s($d(^oddCOM({L1},"s",{L3},36))#2:^(36),$d(^oddCOM($g(^(2),{L1}),"s",{L3},36))#2:^(36),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},36))#2:^(36),1:"")) |
DataLocation | %CacheString | 指定表达式,该表达式是该类的数据存储位置。通常,这将是Global 引用,例如 ^User.PersonD 。Global 引用还可以包括一个或多个前导下标。 | 21 | s {DataLocation}=$s($d(^oddCOM({L1},"s",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"s",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},21))#2:^(21),1:"")) |
DefaultData | %CacheString | 指定类编译器数据结构生成器用来放置任何以前未存储的属性的 DATA 定义的名称。如果属性可存储,但未在任何 DATA 定义中列出,则该属性未存储。 | 22 | s {DefaultData}=$s($d(^oddCOM({L1},"s",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"s",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},22))#2:^(22),1:"")) |
Deprecated | %Boolean | 如果此存储已弃用,则为 true 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"s",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"s",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定存储定义的描述。此描述由在线课程参考显示。 | 4 | s {Description}=$s($d(^oddCOM({L1},"s",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"s",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},4))#2:^(4),1:"")) |
ExtentSize | %CacheString | 范围大小 | 34 | s {ExtentSize}=$s($d(^oddCOM({L1},"s",{L3},34))#2:^(34),$d(^oddCOM($g(^(2),{L1}),"s",{L3},34))#2:^(34),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},34))#2:^(34),1:"")) |
Final | `%Boolean指定子类不能修改存储定义。 | 7 | s {Final}=$s($d(^oddCOM({L1},"s",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"s",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},7))#2:^(7),1:0)) | |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"s",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"s",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},6))#2:^(6),1:0)) |
IdExpression | %CacheString | Id 表达式 | 23 | s {IdExpression}=$s($d(^oddCOM({L1},"s",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"s",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},23))#2:^(23),1:"")) |
IdFunction | %CacheString | 指定用于分配新 id 值的系统函数。 | 37 | s {IdFunction}=$s($d(^oddCOM({L1},"s",{L3},37))#2:^(37),$d(^oddCOM($g(^(2),{L1}),"s",{L3},37))#2:^(37),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},37))#2:^(37),1:"")) |
IdLocation | %CacheString | 指定 ID 计数器的位置。 | 24 | s {IdLocation}=$s($d(^oddCOM({L1},"s",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"s",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},24))#2:^(24),1:"")) |
IndexLocation | %CacheString | 指定用于此类索引的Global 。如果未指定,则索引位置为 ^MyApp.MyClassI ,其中 MyApp.MyClass 是类名。 | 25 | s {IndexLocation}=$s($d(^oddCOM({L1},"s",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"s",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},25))#2:^(25),1:"")) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"s",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"s",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"s",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"s",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"s",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"s",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字已修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"s",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"s",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},13))#2:^(13),1:0)) |
NotInheritable | %Boolean | NotInheritable | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"s",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"s",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},9))#2:^(9),1:0)) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"s",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"s",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},2))#2:^(2),1:"")) |
RootClass | %Boolean | 根类 | 26 | s {RootClass}=$s($d(^oddCOM({L1},"s",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"s",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},26))#2:^(26),1:0)) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"s",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"s",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},11))#2:^(11),1:0)) |
SqlChildSub | %CacheString | SqlChildSub | 27 | s {SqlChildSub}=$s($d(^oddCOM({L1},"s",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"s",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},27))#2:^(27),1:"")) |
SqlIdExpression | %CacheString | SqlIdExpression | 28 | s {SqlIdExpression}=$s($d(^oddCOM({L1},"s",{L3},28))#2:^(28),$d(^oddCOM($g(^(2),{L1}),"s",{L3},28))#2:^(28),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},28))#2:^(28),1:"")) |
SqlRowIdName | %CacheString | 指定映射到 SQL 的行 ID 列的名称。 | 29 | s {SqlRowIdName}=$s($d(^oddCOM({L1},"s",{L3},29))#2:^(29),$d(^oddCOM($g(^(2),{L1}),"s",{L3},29))#2:^(29),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},29))#2:^(29),1:"")) |
SqlRowIdProperty | %CacheString | 指定 SQL RowId 属性。此关键字仅由从早期 产品迁移的类使用。 | 30 | s {SqlRowIdProperty}=$s($d(^oddCOM({L1},"s",{L3},30))#2:^(30),$d(^oddCOM($g(^(2),{L1}),"s",{L3},30))#2:^(30),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},30))#2:^(30),1:"")) |
SqlTableNumber | %CacheString | 指定内部 SQL 表编号。此关键字仅由从早期 产品迁移的类使用。 | 31 | s {SqlTableNumber}=$s($d(^oddCOM({L1},"s",{L3},31))#2:^(31),$d(^oddCOM($g(^(2),{L1}),"s",{L3},31))#2:^(31),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},31))#2:^(31),1:"")) |
State | %CacheString | 对于串行嵌入类,此关键字指定使用哪个数据定义来定义对象的序列化状态。这也是默认结构生成器将添加未存储属性的默认数据定义。 | 32 | s {State}=$s($d(^oddCOM({L1},"s",{L3},32))#2:^(32),$d(^oddCOM($g(^(2),{L1}),"s",{L3},32))#2:^(32),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},32))#2:^(32),1:"")) |
StreamLocation | %CacheString | 指定用于存储此类中任何流属性的默认Global 值。如果未指定,则索引位置为 ^MyApp.MyClassS ,其中 MyApp.MyClass 是类名。 | 33 | s {StreamLocation}=$s($d(^oddCOM({L1},"s",{L3},33))#2:^(33),$d(^oddCOM($g(^(2),{L1}),"s",{L3},33))#2:^(33),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},33))#2:^(33),1:"")) |
Type | %Dictionary.CacheClassname | 指定用于为此类提供持久性的存储类。 | 5 | s {Type}=$s($d(^oddCOM({L1},"s",{L3},5))#2:^(5),$d(^oddCOM($g(^(2),{L1}),"s",{L3},5))#2:^(5),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},5))#2:^(5),1:"")) |
VersionLocation | %CacheString | 指定%Version 计数器的位置。 | 35 | s {VersionLocation}=$s($d(^oddCOM({L1},"s",{L3},35))#2:^(35),$d(^oddCOM($g(^(2),{L1}),"s",{L3},35))#2:^(35),1:$s($d(^oddDEF($g(^oddCOM({L1},"s",{L3},2),{L1}),"s",{L3},35))#2:^(35),1:"")) |
%Dictionary.CompiledStorageData
- 编译Storage
节点表
简介
新建或修改StorageData
定义编译时会修改此表字段。
该表为%Dictionary.CompiledStorage
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"D",{%Dictionary.CompiledStorageData.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageData.Name
- 数据节点名
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","s","Default","D","HumanDefaultData")=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",1)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",1,21)="%%CLASSNAME"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",2)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",2,21)="name"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",3)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",3,21)="age"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",4)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",4,21)="menu"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",5)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",5,21)="role"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Attribute | %CacheString | Attribute | 0 | s {Attribute}=$g(^oddCOM({L1},"s",{L3},"D",{L5},21),$g(^%qCacheObjectKey(1,"D",21))) |
KeywordError | %Boolean | 关键字错误 | 0 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"D",{L5},12),$g(^%qCacheObjectKey(1,"D",12))) |
KeywordModified | %Boolean | 关键字已修改 | 0 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"D",{L5},13),$g(^%qCacheObjectKey(1,"D",13))) |
Structure | %CacheString | 指定如何将数据存储到Global 节点中。 | 0 | s {Structure}=$g(^oddCOM({L1},"s",{L3},"D",{L5},22),$g(^%qCacheObjectKey(1,"D",22))) |
Subscript | %CacheString | 下标 | 0 | s {Subscript}=$g(^oddCOM({L1},"s",{L3},"D",{L5},23),$g(^%qCacheObjectKey(1,"D",23))) |
%Dictionary.CompiledStorageDataValue
- 编译Storage
节点值表
简介
新建或修改StorageDataValue
定义编译时会修改此表字段。
该表为%Dictionary.CompiledStorageData
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"D",{%Dictionary.CompiledStorageData.Name},"V",{%Dictionary.CompiledStorageDataValue.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageData.Name
- 数据节点名%Dictionary.CompiledStorageDataValue.Name
- 节点顺序
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",1)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",1,21)="%%CLASSNAME"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",2)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",2,21)="name"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",3)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",3,21)="age"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",4)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",4,21)="menu"
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",5)=""
^oddCOM("User.Human","s","Default","D","HumanDefaultData","V",5,21)="role"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"D",{L5},"V",{L7},12),$g(^%qCacheObjectKey(1,"V",12))) |
KeywordModified | %Boolean | 关键字已修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"D",{L5},"V",{L7},13),$g(^%qCacheObjectKey(1,"V",13))) |
Value | %CacheString | 值 | 21 | s {Value}=$g(^oddCOM({L1},"s",{L3},"D",{L5},"V",{L7},21),$g(^%qCacheObjectKey(1,"V",21))) |
%Dictionary.CompiledStorageIndex
- 编译Storage
索引表
简介
新建或修改StorageIndex
定义编译时会修改此表字段。
该表为%Dictionary.CompiledStorage
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"X",{%Dictionary.CompiledStorageIndex.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageIndex.Name
- 索引名
注:此表储存类关键字指定StorageStrategy
。
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","s","Default","X","IndexName")=""
^oddCOM("User.Human","s","Default","X","IndexName",21)="^User.HumanI"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"X",{L5},12),$g(^%qCacheObjectKey(1,"X",12))) |
KeywordModified | %Boolean | 关键字已修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"X",{L5},13),$g(^%qCacheObjectKey(1,"X",13))) |
Location | %CacheString | 位置 | 21 | s {Location}=$g(^oddCOM({L1},"s",{L3},"X",{L5},21),$g(^%qCacheObjectKey(1,"X",21))) |
%Dictionary.CompiledStorageProperty
- 编译Storage
属性表
简介
新建或修改StorageProperty
定义编译时会修改此表字段。
进行调优表时会自动添加该属性,调优表时需要表存在数据。
该表为%Dictionary.CompiledStorage
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"M",{%Dictionary.CompiledStorageProperty.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 属性名
注:获取属性离散值,选择性。
示例
查询SQL
表:
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-PwYVfkMA-1692500074319)(C:\Users\hp\AppData\Roaming\Typora\typora-user-images\image-20230819145417537.png)]
Global
示例:
USER>zw ^oddCOM("User.Status","s","Default","M")
^oddCOM("User.Status","s","Default","M","%%CLASSNAME")=""
^oddCOM("User.Status","s","Default","M","%%CLASSNAME",21)="100.0000%"
^oddCOM("User.Status","s","Default","M","%%CLASSNAME",26)=1
^oddCOM("User.Status","s","Default","M","%%ID")=""
^oddCOM("User.Status","s","Default","M","%%ID",21)=1
^oddCOM("User.Status","s","Default","M","%%ID",26)=1.1
^oddCOM("User.Status","s","Default","M","code")=""
^oddCOM("User.Status","s","Default","M","code",21)="33.3333%"
^oddCOM("User.Status","s","Default","M","code",26)=3
^oddCOM("User.Status","s","Default","M","name")=""
^oddCOM("User.Status","s","Default","M","name",21)="33.3333%"
^oddCOM("User.Status","s","Default","M","name",26)=2
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
AverageFieldSize | %CacheString | 平均字段大小 | 26 | s {AverageFieldSize}=$g(^oddCOM({L1},"s",{L3},"M",{L5},26),$g(^%qCacheObjectKey(1,"M",26))) |
BiasQueriesAsOutlier | %CacheString | 将查询作为异常值进行偏置 | 25 | s {BiasQueriesAsOutlier}=$g(^oddCOM({L1},"s",{L3},"M",{L5},25),$g(^%qCacheObjectKey(1,"M",25))) |
ChildBlockCount | %CacheString | 子块计数 | 27 | s {ChildBlockCount}=$g(^oddCOM({L1},"s",{L3},"M",{L5},27),$g(^%qCacheObjectKey(1,"M",27))) |
ChildExtentSize | %CacheString | 子区大小 | 23 | s {ChildExtentSize}=$g(^oddCOM({L1},"s",{L3},"M",{L5},23),$g(^%qCacheObjectKey(1,"M",23))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"M",{L5},12),$g(^%qCacheObjectKey(1,"M",12))) |
KeywordModified | %Boolean | 关键字已修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"M",{L5},13),$g(^%qCacheObjectKey(1,"M",13))) |
OutlierSelectivity | %CacheString | 异常值选择性 | 24 | s {OutlierSelectivity}=$g(^oddCOM({L1},"s",{L3},"M",{L5},24),$g(^%qCacheObjectKey(1,"M",24))) |
Selectivity | %CacheString | Selectivity | 21 | s {Selectivity}=$g(^oddCOM({L1},"s",{L3},"M",{L5},21),$g(^%qCacheObjectKey(1,"M",21))) |
StreamLocation | %CacheString | 流位置 | 22 | s {StreamLocation}=$g(^oddCOM({L1},"s",{L3},"M",{L5},22),$g(^%qCacheObjectKey(1,"M",22))) |
%Dictionary.CompiledStorageSQLMap
- 编译StorageSQL
映射表
简介
新建或修改StorageSQLMap
定义编译时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorage
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","s","SQLStorage","S","Master")=""
^oddCOM("User.Human","s","SQLStorage","S","Master",5)="data"
^oddCOM("User.Human","s","SQLStorage","S","Master",24)="^User.Human"
^oddCOM("User.Human","s","SQLStorage","S","Master",26)="nonnull"
^oddCOM("User.Human","s","SQLStorage","S","Master","B",1)=""
^oddCOM("User.Human","s","SQLStorage","S","Master","B",1,24)="{id}"
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1)=""
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1,21)="{L1}"
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1,22)="id"
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age",23)=2
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu",23)=3
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name",23)=1
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
BlockCount | %Integer | 块数 | 29 | s {BlockCount}=$g(^oddCOM({L1},"s",{L3},"S",{L5},29),$g(^%qCacheObjectKey(1,"S",29))) |
Condition | %CacheString | 条件 | 21 | s {Condition}=$g(^oddCOM({L1},"s",{L3},"S",{L5},21),$g(^%qCacheObjectKey(1,"S",21))) |
ConditionFields | %CacheString | 条件字段 | 23 | s {ConditionFields}=$g(^oddCOM({L1},"s",{L3},"S",{L5},23),$g(^%qCacheObjectKey(1,"S",23))) |
ConditionalWithHostVars | %Boolean | 有条件的主机变量 | 22 | s {ConditionalWithHostVars}=$g(^oddCOM({L1},"s",{L3},"S",{L5},22),$g(^%qCacheObjectKey(1,"S",22))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},12),$g(^%qCacheObjectKey(1,"S",12))) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},13),$g(^%qCacheObjectKey(1,"S",13))) |
PopulationPct | %CacheString | 填充百分比 | 25 | s {PopulationPct}=$g(^oddCOM({L1},"s",{L3},"S",{L5},25),$g(^%qCacheObjectKey(1,"S",25))) |
PopulationType | %CacheString | 填充类型 | 26 | s {PopulationType}=$g(^oddCOM({L1},"s",{L3},"S",{L5},26),$g(^%qCacheObjectKey(1,"S",26))) |
RowReference | %CacheString | 行引用 | 27 | s {RowReference}=$g(^oddCOM({L1},"s",{L3},"S",{L5},27),$g(^%qCacheObjectKey(1,"S",27))) |
Structure | %CacheString | 结构 | 28 | s {Structure}=$g(^oddCOM({L1},"s",{L3},"S",{L5},28),$g(^%qCacheObjectKey(1,"S",28))) |
Type | %CacheString | 指定这是什么类型的映射。 | 5 | s {Type}=$g(^oddCOM({L1},"s",{L3},"S",{L5},5),$g(^%qCacheObjectKey(1,"S",5))) |
_Global | | 24 | s {_Global}=$g(^oddCOM({L1},"s",{L3},"S",{L5},24),$g(^%qCacheObjectKey(1,"S",24))) |
%Dictionary.CompiledStorageSQLMapData
- 编译StorageSQL
映射数据表
简介
新建或修改StorageSQLMapData
定义编译时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorageSQLMap
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name},"T",{%Dictionary.CompiledStorageSQLMapData.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名%Dictionary.CompiledStorageSQLMapData.Name
- 映射属性名
示例
查询SQL
表:
Global
示例:
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","age",23)=2
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","menu",23)=3
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name")=""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name",21)="""^"""
^oddCOM("User.Human","s","SQLStorage","S","Master","T","name",23)=1
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Delimiter | %CacheString | 分隔符 | 21 | s {Delimiter}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},21),$g(^%qCacheObjectKey(1,"T",21))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},12),$g(^%qCacheObjectKey(1,"T",12))) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},13),$g(^%qCacheObjectKey(1,"T",13))) |
Node | %CacheString | 节点 | 22 | s {Node}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},22),$g(^%qCacheObjectKey(1,"T",22))) |
Piece | %CacheString | 位置 | 23 | s {Piece}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},23),$g(^%qCacheObjectKey(1,"T",23))) |
RetrievalCode | %CacheString | 检索码 | 24 | s {RetrievalCode}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"T",{L7},24),$g(^%qCacheObjectKey(1,"T",24))) |
%Dictionary.CompiledStorageSQLMapRowIdSpec
- 编译StorageSQL
映射行位置字段表
简介
新建或修改StorageSQLMapRowIdSpec
定义编译时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorageSQLMap
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name},"R",{%Dictionary.CompiledStorageSQLMapRowIdSpec.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名%Dictionary.CompiledStorageSQLMapRowIdSpec.Name
- 行位置属性名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","s","SQLStorage","S","Master","R")
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1)=""
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1,21)="{L1}"
^oddCOM("User.Human","s","SQLStorage","S","Master","R",1,22)="id"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Expression | %CacheString | 表达式 | 0 | s {Expression}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"R",{L7},21),$g(^%qCacheObjectKey(1,"R",21))) |
Field | %CacheString | 字段 | 0 | s {Field}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"R",{L7},22),$g(^%qCacheObjectKey(1,"R",22))) |
KeywordError | %Boolean | 关键字错误 | 0 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"R",{L7},12),$g(^%qCacheObjectKey(1,"R",12))) |
KeywordModified | %Boolean | 关键字修改 | 0 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"R",{L7},13),$g(^%qCacheObjectKey(1,"R",13))) |
%Dictionary.CompiledStorageSQLMapSub
- 编译StorageSQLMapSub
表
简介
新建或修改StorageSQLMapSub
定义时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorageSQLMap
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name},"B",{%Dictionary.CompiledStorageSQLMapSub.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名%Dictionary.CompiledStorageSQLMapSub.Name
- 序号名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","s","SQLStorage","S","Master","B")
^oddCOM("User.Human","s","SQLStorage","S","Master","B",1)=""
^oddCOM("User.Human","s","SQLStorage","S","Master","B",1,24)="{id}"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
AccessType | %CacheString | 接入类型 | 21 | s {AccessType}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},21),$g(^%qCacheObjectKey(1,"B",21))) |
DataAccess | %CacheString | 数据存取 | 22 | s {DataAccess}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},22),$g(^%qCacheObjectKey(1,"B",22))) |
Delimiter | %CacheString | 分隔符 | 23 | s {Delimiter}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},23),$g(^%qCacheObjectKey(1,"B",23))) |
Expression | %CacheString | 表达式 | 24 | s {Expression}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},24),$g(^%qCacheObjectKey(1,"B",24))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},12),$g(^%qCacheObjectKey(1,"B",12))) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},13),$g(^%qCacheObjectKey(1,"B",13))) |
LoopInitValue | %CacheString | 循环初始值 | 25 | s {LoopInitValue}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},25),$g(^%qCacheObjectKey(1,"B",25))) |
NextCode | %CacheString | 下一个代码 | 26 | s {NextCode}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},26),$g(^%qCacheObjectKey(1,"B",26))) |
NullMarker | %CacheString | 空标记 | 27 | s {NullMarker}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},27),$g(^%qCacheObjectKey(1,"B",27))) |
StartValue | %CacheString | 起始值 | 28 | s {StartValue}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},28),$g(^%qCacheObjectKey(1,"B",28))) |
StopExpression | %CacheString | 停止表达 | 29 | s {StopExpression}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},29),$g(^%qCacheObjectKey(1,"B",29))) |
StopValue | %CacheString | 结束值 | 30 | s {StopValue}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},30),$g(^%qCacheObjectKey(1,"B",30))) |
%Dictionary.CompiledStorageSQLMapSubAccessvar
- 编译StorageSQLMapSubAccessvar
表
简介
新建或修改StorageSQLMapSubAccessvar
定义时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorageSQLMapSub
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name},"B",{%Dictionary.CompiledStorageSQLMapSub.Name},"A",{%Dictionary.CompiledStorageSQLMapSubAccessvar.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名%Dictionary.CompiledStorageSQLMapSub.Name
- 序号名%Dictionary.CompiledStorageSQLMapSubAccessvar.Name
- 变量名
示例
查询SQL
表:
Global
示例:
IMP>zw ^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B","1","A")
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",1)=""
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",1,21)=" s {1D1}=$zu(67,3,{L1})"
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",1,22)="{1D1}"
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",2)=""
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",2,21)=" s {1D2}="""""
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"A",2,22)="{1D2}"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Code | %CacheString | 代码 | 21 | s {Code}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"A",{L9},21),$g(^%qCacheObjectKey(1,"A",21))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"A",{L9},12),$g(^%qCacheObjectKey(1,"A",12))) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"A",{L9},13),$g(^%qCacheObjectKey(1,"A",13))) |
Variable | %CacheString | 变量 | 22 | s {Variable}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"A",{L9},22),$g(^%qCacheObjectKey(1,"A",22))) |
%Dictionary.CompiledStorageSQLMapSubInvalidcondition
- 编译CompiledStorageSQLMapSubInvalidcondition
表
简介
新建或修改StorageSQLMapSubInvalidcondition
定义时会修改此表字段。
此表为储存定义为SQLStorage
时生效。
该表为%Dictionary.CompiledStorageSQLMapSub
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"s",{%Dictionary.CompiledStorage.Name},"S",{%Dictionary.CompiledStorageSQLMap.Name},"B",{%Dictionary.CompiledStorageSQLMapSub.Name},"N",{%Dictionary.CompiledStorageSQLMapSubInvalidcondition.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledStorage.Name
-Storage
名%Dictionary.CompiledStorageProperty.Name
- 映射字段名%Dictionary.CompiledStorageSQLMapSub.Name
- 序号名%Dictionary.CompiledStorageSQLMapSubInvalidcondition.Name
- 条件名
示例
查询SQ
表:
Global
示例:
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"N",1)=""
^oddCOM("%SYS.ProcessQuery","s","Process","S","Map1","B",1,"N",1,21)="##Class(%SYS.ProcessQuery).AllowToOpen({L1})'=1"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Expression | %CacheString | 表达式 | 21 | s {Expression}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"N",{L9},21),$g(^%qCacheObjectKey(1,"N",21))) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"N",{L9},12),$g(^%qCacheObjectKey(1,"N",12))) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$g(^oddCOM({L1},"s",{L3},"S",{L5},"B",{L7},"N",{L9},13),$g(^%qCacheObjectKey(1,"N",13))) |
%Dictionary.CompiledTrigger
- 编译触发器表
简介
新建或修改触发器编译时会修改此表字段。
该表为%Dictionary.ClassDefinition
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"t",{%Dictionary.CompiledTrigger.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledTrigger.Name
- 触发器名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","t")
^oddCOM("User.Human","t","%OBJGUID",2)="%Library.Persistent"
^oddCOM("User.Human","t","%OBJJRND",2)="%Library.Persistent"
^oddCOM("User.Human","t","%OBJJRNIU",2)="%Library.Persistent"
^oddCOM("User.Human","t","LogEvent",2)="User.Human"
^oddCOM("User.Human","t","LogEvent","m","Execute",2)="%Library.CacheTrigger"
^oddCOM("User.Human","t","LogEvent","m","Execute",44)=1
^oddCOM("User.Human","t","LogEvent","m","Execute",69)="????"_$c(16)_">"_$c(128)_"??0R"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Code | %CacheString | 触发触发器时执行的代码。 | 21 | s {Code}=$s($d(^oddCOM({L1},"t",{L3},21))#2:^(21),$d(^oddCOM($g(^(2),{L1}),"t",{L3},21))#2:^(21),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},21))#2:^(21),1:"")) |
CodeMode | %CacheString | 指定如何实现给定方法:要编译的代码行,或将生成结果方法或对象的方法。 | 31 | s {CodeMode}=$s($d(^oddCOM({L1},"t",{L3},31))#2:^(31),$d(^oddCOM($g(^(2),{L1}),"t",{L3},31))#2:^(31),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},31))#2:^(31),1:"code")) |
CompilerGenerated | %Boolean | 编译器生成 | 10 | s {CompilerGenerated}=$s($d(^oddCOM({L1},"t",{L3},10))#2:^(10),$d(^oddCOM($g(^(2),{L1}),"t",{L3},10))#2:^(10),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},10))#2:^(10),1:0)) |
Deprecated | %Boolean | 如果此触发器已弃用,则为 True 。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"t",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"t",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定 SQL 触发器的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"t",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"t",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},4))#2:^(4),1:"")) |
Event | %CacheString | 指定将触发触发器的 SQL 事件。 | 22 | s {Event}=$s($d(^oddCOM({L1},"t",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"t",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},22))#2:^(22),1:"")) |
Final | %Boolean | 指定子类不能覆盖 SQL 触发器的定义。 | 7 | s {Final}=$s($d(^oddCOM({L1},"t",{L3},7))#2:^(7),$d(^oddCOM($g(^(2),{L1}),"t",{L3},7))#2:^(7),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},7))#2:^(7),1:0)) |
Foreach | %CacheString | 指示是否将为每行、行和对象或每个语句调用触发器 | 26 | s {Foreach}=$s($d(^oddCOM({L1},"t",{L3},26))#2:^(26),$d(^oddCOM($g(^(2),{L1}),"t",{L3},26))#2:^(26),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},26))#2:^(26),1:"")) |
Id | %Integer | Id | 6 | s {Id}=$s($d(^oddCOM({L1},"t",{L3},6))#2:^(6),$d(^oddCOM($g(^(2),{L1}),"t",{L3},6))#2:^(6),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},6))#2:^(6),1:0)) |
InheritedId | %Boolean | InheritedId | 8 | s {InheritedId}=$s($d(^oddCOM({L1},"t",{L3},8))#2:^(8),$d(^oddCOM($g(^(2),{L1}),"t",{L3},8))#2:^(8),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},8))#2:^(8),1:0)) |
Internal | %Boolean | 如果为 true ,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"t",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"t",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"t",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"t",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"t",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"t",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},13))#2:^(13),1:0)) |
NewTable | %CacheString | 保存触发器旧值的 SQL 表的名称。 | 29 | s {NewTable}=$s($d(^oddCOM({L1},"t",{L3},29))#2:^(29),$d(^oddCOM($g(^(2),{L1}),"t",{L3},29))#2:^(29),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},29))#2:^(29),1:"")) |
NotInheritable | %Boolean | NotInheritable | 9 | s {NotInheritable}=$s($d(^oddCOM({L1},"t",{L3},9))#2:^(9),$d(^oddCOM($g(^(2),{L1}),"t",{L3},9))#2:^(9),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},9))#2:^(9),1:0)) |
OldTable | %CacheString | 保存触发器旧值的 SQL 表的名称。 | 30 | s {OldTable}=$s($d(^oddCOM({L1},"t",{L3},30))#2:^(30),$d(^oddCOM($g(^(2),{L1}),"t",{L3},30))#2:^(30),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},30))#2:^(30),1:"")) |
Order | %Integer | 如果同一事件和时间有多个触发器,请指定触发器的触发顺序。 | 23 | s {Order}=$s($d(^oddCOM({L1},"t",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"t",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},23))#2:^(23),1:0)) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"t",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"t",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},2))#2:^(2),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"t",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"t",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},11))#2:^(11),1:0)) |
SqlName | %CacheString | 指定 SQL 使用此触发器时的备用名称。 | 24 | s {SqlName}=$s($d(^oddCOM({L1},"t",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"t",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},24))#2:^(24),1:"")) |
TagGenerator | %CacheString | 标签生成器 | 32 | s {TagGenerator}=$s($d(^oddCOM({L1},"t",{L3},32))#2:^(32),$d(^oddCOM($g(^(2),{L1}),"t",{L3},32))#2:^(32),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},32))#2:^(32),1:"")) |
UpdateColumnList | %CacheString | 指定一列或多列,其修改会导致 SQL 拉动触发器。 | 28 | s {UpdateColumnList}=$s($d(^oddCOM({L1},"t",{L3},28))#2:^(28),$d(^oddCOM($g(^(2),{L1}),"t",{L3},28))#2:^(28),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},28))#2:^(28),1:"")) |
_Language | | 27 | s {_Language}=$s($d(^oddCOM({L1},"t",{L3},27))#2:^(27),$d(^oddCOM($g(^(2),{L1}),"t",{L3},27))#2:^(27),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},27))#2:^(27),1:"")) | |
_Time | | 25 | s {_Time}=$s($d(^oddCOM({L1},"t",{L3},25))#2:^(25),$d(^oddCOM($g(^(2),{L1}),"t",{L3},25))#2:^(25),1:$s($d(^oddDEF($g(^oddCOM({L1},"t",{L3},2),{L1}),"t",{L3},25))#2:^(25),1:"BEFORE")) |
%Dictionary.CompiledUDLText
- 编译UDLText
表
简介
新建或修改UDLText
编译时会修改此表字段。
该注释只在类中生效,在方法中不会添加到此表中。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"u",{%Dictionary.CompiledUDLText.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledUDLText.Name
-UDLText
名
示例
查询SQL
表:
select * from %Dictionary.CompiledUDLText where parent = 'User.Human'
Global
示例:
USER>zw ^oddCOM("User.Human","u")
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Category | %CacheString | Category | 23 | s {Category}=$s($d(^oddCOM({L1},"u",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"u",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},23))#2:^(23),1:"comment")) |
Content | %Stream.TmpCharacter | 保存 UDL 文本的内容。 | 0 | s {Content}="" |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"u",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"u",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"u",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"u",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},13))#2:^(13),1:0)) |
Position | %CacheString | 位置 | 24 | s {Position}=$s($d(^oddCOM({L1},"u",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"u",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},24))#2:^(24),1:"body")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"u",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"u",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},11))#2:^(11),1:0)) |
TextType | %Integer | 文本类型 | 22 | s {TextType}=$s($d(^oddCOM({L1},"u",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"u",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"u",{L3},2),{L1}),"u",{L3},22))#2:^(22),1:0)) |
%Dictionary.CompiledXData
- 编译XData
表
简介
新建或修改XData
时会修改此表字段。
该表为%Dictionary.CompiledClass
子表。
索引
取值索引 - ^oddCOM({%Dictionary.CompiledClass.Name},"x",{%Dictionary.CompiledXData.Name})
%Dictionary.CompiledClass.Name
- 类名%Dictionary.CompiledXData.Name
-XData
名
示例
查询SQL
表:
Global
示例:
USER>zw ^oddCOM("User.Human","x")
^oddCOM("User.Human","x","XmlData",2)="User.Human"
表结构
字检 | 类型 | 描述 | 位置 | 检索码 |
---|---|---|---|---|
ID1 | ||||
parent | %Dictionary.CompiledClass | 指向包含父对象的指针 | ||
Name | %Dictionary.CacheIdentifier | |||
Data | %Stream.TmpCharacter | 数据流。 | 0 | s {Data}="" |
Deprecated | %Boolean | 如果此 XDATA 已弃用,则为 True。 | 17 | s {Deprecated}=$s($d(^oddCOM({L1},"x",{L3},17))#2:^(17),$d(^oddCOM($g(^(2),{L1}),"x",{L3},17))#2:^(17),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},17))#2:^(17),1:0)) |
Description | %CacheString | 指定 XData 的描述。 | 4 | s {Description}=$s($d(^oddCOM({L1},"x",{L3},4))#2:^(4),$d(^oddCOM($g(^(2),{L1}),"x",{L3},4))#2:^(4),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},4))#2:^(4),1:"")) |
Internal | %Boolean | 如果为 true ,则不在自动文档中显示此项。 | 14 | s {Internal}=$s($d(^oddCOM({L1},"x",{L3},14))#2:^(14),$d(^oddCOM($g(^(2),{L1}),"x",{L3},14))#2:^(14),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},14))#2:^(14),1:0)) |
KeywordError | %Boolean | 关键字错误 | 12 | s {KeywordError}=$s($d(^oddCOM({L1},"x",{L3},12))#2:^(12),$d(^oddCOM($g(^(2),{L1}),"x",{L3},12))#2:^(12),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},12))#2:^(12),1:0)) |
KeywordModified | %Boolean | 关键字修改 | 13 | s {KeywordModified}=$s($d(^oddCOM({L1},"x",{L3},13))#2:^(13),$d(^oddCOM($g(^(2),{L1}),"x",{L3},13))#2:^(13),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},13))#2:^(13),1:0)) |
MimeType | %CacheString | XData 块的 Mime 类型。 | 24 | s {MimeType}=$s($d(^oddCOM({L1},"x",{L3},24))#2:^(24),$d(^oddCOM($g(^(2),{L1}),"x",{L3},24))#2:^(24),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},24))#2:^(24),1:"text/xml")) |
Origin | %CacheString | Origin | 2 | s {Origin}=$s($d(^oddCOM({L1},"x",{L3},2))#2:^(2),$d(^oddCOM($g(^(2),{L1}),"x",{L3},2))#2:^(2),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},2))#2:^(2),1:"")) |
SchemaSpec | %CacheString | 数据的模式定义。 | 22 | s {SchemaSpec}=$s($d(^oddCOM({L1},"x",{L3},22))#2:^(22),$d(^oddCOM($g(^(2),{L1}),"x",{L3},22))#2:^(22),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},22))#2:^(22),1:"")) |
SequenceNumber | %Integer | 序列号 | 11 | s {SequenceNumber}=$s($d(^oddCOM({L1},"x",{L3},11))#2:^(11),$d(^oddCOM($g(^(2),{L1}),"x",{L3},11))#2:^(11),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},11))#2:^(11),1:0)) |
XMLNamespace | %CacheString | XDATA 的默认 XML 命名空间。 | 23 | s {XMLNamespace}=$s($d(^oddCOM({L1},"x",{L3},23))#2:^(23),$d(^oddCOM($g(^(2),{L1}),"x",{L3},23))#2:^(23),1:$s($d(^oddDEF($g(^oddCOM({L1},"x",{L3},2),{L1}),"x",{L3},23))#2:^(23),1:"")) |