Skip to content

Commit 4dec17a

Browse files
authored
Update README.md
1 parent 188ae2c commit 4dec17a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The two extension methods in the `OnModelCreating` method in the `DbContext` cla
4343
- **UseNumberAsIdentifier()** or **UseStringAsIdentifier()** defines whether the lookup table will be based on the string enum values or the numeric enum value as primary key in the resulting table and as foreign key in the relation.
4444
- **Singularize()** or **Pluralize()** defines whether the table names will be the singular or plural versions of the enum type.
4545
- **SetNamingScheme(...)** allows you to override the naming using one of the predefined schemes (see below) or a custom function.
46+
- **UseEnumsWithAttributeOnly()** to generate the enum lookup tables only for enums marked with the `[EnumLookup]` attribute
4647

4748
- **ConfigureNames(...)** allows you to define in which form tables, properties and constraints will be named:
4849

0 commit comments

Comments
 (0)