|
76 | 76 | }, |
77 | 77 | { |
78 | 78 | "command": "entityframework.refreshTree", |
79 | | - "title": "Refresh Migrations", |
| 79 | + "title": "Refresh", |
| 80 | + "icon": { |
| 81 | + "light": "icons/refresh_light.svg", |
| 82 | + "dark": "icons/refresh_dark.svg" |
| 83 | + } |
| 84 | + }, |
| 85 | + { |
| 86 | + "command": "entityframework.refreshDbContextTree", |
| 87 | + "title": "Refresh", |
| 88 | + "icon": { |
| 89 | + "light": "icons/refresh_light.svg", |
| 90 | + "dark": "icons/refresh_dark.svg" |
| 91 | + } |
| 92 | + }, |
| 93 | + { |
| 94 | + "command": "entityframework.refreshProjectTree", |
| 95 | + "title": "Refresh", |
80 | 96 | "icon": { |
81 | 97 | "light": "icons/refresh_light.svg", |
82 | 98 | "dark": "icons/refresh_dark.svg" |
|
129 | 145 | "command": "entityframework.refreshTree", |
130 | 146 | "when": "false" |
131 | 147 | }, |
| 148 | + { |
| 149 | + "command": "entityframework.refreshProjectTree", |
| 150 | + "when": "false" |
| 151 | + }, |
| 152 | + { |
| 153 | + "command": "entityframework.refreshDbContextTree", |
| 154 | + "when": "false" |
| 155 | + }, |
132 | 156 | { |
133 | 157 | "command": "entityframework.removeMigrations", |
134 | 158 | "when": "false" |
|
212 | 236 | }, |
213 | 237 | { |
214 | 238 | "command": "entityframework.generateScript", |
215 | | - "when": "viewItem == dbContext", |
216 | | - "group": "inline@3" |
217 | | - }, |
218 | | - { |
219 | | - "command": "entityframework.generateScript", |
220 | | - "when": "viewItem == dbContext", |
221 | | - "group": "context@2" |
| 239 | + "when": "viewItem == dbContext" |
222 | 240 | }, |
223 | 241 | { |
224 | 242 | "command": "entityframework.generateERD", |
225 | | - "when": "viewItem == dbContext", |
226 | | - "group": "inline@2" |
227 | | - }, |
228 | | - { |
229 | | - "command": "entityframework.generateERD", |
230 | | - "when": "viewItem == dbContext", |
231 | | - "group": "context@3" |
| 243 | + "when": "viewItem == dbContext" |
232 | 244 | }, |
233 | 245 | { |
234 | 246 | "command": "entityframework.dbContextInfo", |
235 | | - "when": "viewItem == dbContext", |
236 | | - "group": "inline@1" |
| 247 | + "when": "viewItem == dbContext" |
237 | 248 | }, |
238 | 249 | { |
239 | | - "command": "entityframework.dbContextInfo", |
240 | | - "when": "viewItem == dbContext", |
241 | | - "group": "context@4" |
| 250 | + "command": "entityframework.refreshDbContextTree", |
| 251 | + "when": "viewItem == dbContext" |
242 | 252 | }, |
243 | 253 | { |
244 | 254 | "command": "entityframework.scaffold", |
|
249 | 259 | "command": "entityframework.scaffold", |
250 | 260 | "when": "viewItem == project", |
251 | 261 | "group": "context@1" |
| 262 | + }, |
| 263 | + { |
| 264 | + "command": "entityframework.refreshProjectTree", |
| 265 | + "when": "viewItem == project", |
| 266 | + "group": "context@2" |
252 | 267 | } |
253 | 268 | ] |
254 | 269 | }, |
|
0 commit comments