|
16 | 16 | "body": ["Method $1($2) As ${3:%Status}", "{", "\tset $4 = \\$\\$\\$OK", "\t$0", "\treturn $4", "}"]
|
17 | 17 | },
|
18 | 18 | "Property": {
|
19 |
| - "prefix": "property", |
| 19 | + "prefix": "Property", |
20 | 20 | "body": "Property $1 As ${2:%String};"
|
21 | 21 | },
|
22 | 22 | "Unique Property": {
|
|
40 | 40 | "body": "Index $1 On ${2:Name};"
|
41 | 41 | },
|
42 | 42 | "Unique Index": {
|
43 |
| - "prefix": "Index", |
44 |
| - "body": "Index $1 On ${2:property} [Unique];", |
45 |
| - "description": "Unique Index" |
| 43 | + "prefix": "Index", |
| 44 | + "body": "Index $1 On ${2:property} [Unique];", |
| 45 | + "description": "Unique Index" |
46 | 46 | },
|
47 | 47 | "Query": {
|
48 |
| - "prefix":["Query"], |
49 |
| - "body":["Query $1($2) As %SQLQuery [ SqlProc ]","{","\tSELECT $3", "\tFROM $4", "\tWHERE $5", "\tORDER BY $6", "}"], |
50 |
| - "description": "SQL statement" |
| 48 | + "prefix":["Query"], |
| 49 | + "body":["Query $1($2) As %SQLQuery [ SqlProc ]","{","\tSELECT $3", "\tFROM $4", "\tWHERE $5", "\tORDER BY $6", "}"], |
| 50 | + "description": "SQL statement" |
51 | 51 | },
|
52 | 52 | "Trigger": {
|
53 |
| - "prefix": "Trigger", |
54 |
| - "body": [ |
| 53 | + "prefix": "Trigger", |
| 54 | + "body": [ |
55 | 55 | "Trigger $1 [Event=${2|INSERT,UPDATE,DELETE|}, Time=${3|BEFORE,AFTER|}, Foreach=${4|row/object,row,statement|}]",
|
56 | 56 | "{",
|
57 | 57 | "\t$5",
|
58 | 58 | "}"
|
59 | 59 | ],
|
60 |
| - "description": "Trigger" |
61 |
| - }, |
62 |
| - "ForeignKey": { |
63 |
| - "prefix": "Foreignkey", |
64 |
| - "body": "ForeignKey $1 (${2:property}) References ${3:referencedClass}(${4:refIndex});", |
65 |
| - "description": "ForeignKey" |
66 |
| - }, |
67 |
| - "Relationship": { |
68 |
| - "prefix": ["Relationship"], |
69 |
| - "body": "Relationship $1 As ${2:classname} [ Cardinality = ${3|one,many,parent,children|}, Inverse = ${4:correspondingProperty} ];", |
70 |
| - "description": "Relationship" |
| 60 | + "description": "Trigger" |
| 61 | + }, |
| 62 | + "ForeignKey": { |
| 63 | + "prefix": "Foreignkey", |
| 64 | + "body": "ForeignKey $1 (${2:property}) References ${3:referencedClass}(${4:refIndex});", |
| 65 | + "description": "ForeignKey" |
| 66 | + }, |
| 67 | + "Relationship": { |
| 68 | + "prefix": ["Relationship"], |
| 69 | + "body": "Relationship $1 As ${2:classname} [ Cardinality = ${3|one,many,parent,children|}, Inverse = ${4:correspondingProperty} ];", |
| 70 | + "description": "Relationship" |
71 | 71 | },
|
72 | 72 | "BusinessService": {
|
73 | 73 | "prefix": ["BusinessService","Interoperability"],
|
|
0 commit comments