Skip to content

Commit 8c34dd9

Browse files
committed
Update entity.md
1 parent b714f80 commit 8c34dd9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/ef/entity.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ data:
5858
entityNaming: Singular
5959
relationshipNaming: Plural
6060
prefixWithSchemaName: false
61+
renaming:
62+
entities:
63+
- ^(sp|tbl|udf|vw)_
64+
properties:
65+
- ^{Table.Name}(?=Id|Name)
6166
```
6267
6368
### name
@@ -98,6 +103,18 @@ Control if class names should be generated with schema name prefixed eg. dbo.MyT
98103

99104
Include XML documentation for the generated class. Default: `false`
100105

106+
### renaming
107+
108+
Rename entities and properties with regular expressions
109+
110+
#### entities
111+
112+
list of regular expressions to clean entity names
113+
114+
#### properties
115+
116+
list of regular expressions to clean property names
117+
101118
## Regeneration
102119

103120
The entity template has three regions that are replaced on regeneration.

0 commit comments

Comments
 (0)