Skip to content

Commit 6a49492

Browse files
authored
Update README.md
1 parent 16fffba commit 6a49492

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ The two extension methods in the `OnModelCreating` method in the `DbContext` cla
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.
4646
- **UseEnumsWithAttributeOnly()** to generate the enum lookup tables only for enums marked with the `[EnumLookup]` attribute
47+
- **SetDeleteBehavior(...)** to configure the delete behavior for the generated FKs, using the `Microsoft.EntityFrameworkCore.DeleteBehavior` enum (defaults to _Cascade_)
4748

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

0 commit comments

Comments
 (0)