Skip to content

Commit c4cf5b7

Browse files
committed
Update README
1 parent 3ca7a60 commit c4cf5b7

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed

README.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ A VS Code extension to manage Entity Framework migrations.
88

99
## Features
1010

11-
- List migrations by [DbContext](https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext)
11+
- List migrations by [`DbContext`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext)
1212
- Add/remove/run/undo migrations
1313
- Show migration applied status
14-
- Export [DbContext](https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext) as SQL script
14+
- Export `DbContext` as SQL script
15+
- View `DbContext` information
1516

1617
## Requirements
1718

@@ -23,7 +24,9 @@ A VS Code extension to manage Entity Framework migrations.
2324

2425
This extension contributes the following settings:
2526

26-
- `entityframework.commands`: Custom commands, for example:
27+
- `entityframework.commands`: Custom commands
28+
<details><summary>Example</summary>
29+
2730
```json
2831
{
2932
"entityframework.commands": {
@@ -96,11 +99,28 @@ This extension contributes the following settings:
9699
"\"$project\"",
97100
"--no-color",
98101
"--json"
102+
],
103+
"dbContextInfo": [
104+
"dotnet",
105+
"ef",
106+
"dbcontext",
107+
"info",
108+
"--context",
109+
"\"$dbContext\"",
110+
"--project",
111+
"\"$project\"",
112+
"--no-color",
113+
"--json"
99114
]
100115
}
101116
}
102117
```
103-
- `entityframework.env`: Custom environment variables, for example:
118+
119+
</details>
120+
121+
- `entityframework.env`: Custom environment variables
122+
<details><summary>Example</summary>
123+
104124
```json
105125
{
106126
"entityframework.env": {
@@ -110,9 +130,11 @@ This extension contributes the following settings:
110130
}
111131
```
112132

133+
</details>
134+
113135
## Performance
114136

115-
The EF tools execute application code at design time to get information about the project, thus performance on large projects can be slow.
137+
The EF tools execute application code at design time to get information about the project, thus _performance on large projects can be slow_.
116138

117139
## Support
118140

0 commit comments

Comments
 (0)