Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 87a4e52

Browse files
committed
Update FK docs
1 parent af3a2cd commit 87a4e52

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,11 +2309,10 @@ More examples can be found in [SqlServerProviderTests](https://github.com/Servic
23092309

23102310
Creating a foreign key in OrmLite can be done by adding `[References(typeof(ForeignKeyTable))]` on the relation property,
23112311
which will result in OrmLite creating the Foreign Key relationship when it creates the DB table with `db.CreateTable<Poco>`.
2312-
[@brainless83](https://github.com/brainless83) has extended this support further by adding more finer-grain options
2313-
and behaviours with the new `[ForeignKey]` attribute which will now let you specify the desired behaviour when deleting
2314-
or updating related rows in Foreign Key tables.
23152312

2316-
An example of a table with all the different options:
2313+
Additional fine-grain options and behaviour are available in the `[ForeignKey]` attribute which will let you specify the desired behaviour when deleting or updating related rows in Foreign Key tables.
2314+
2315+
An example of a table with the different available options:
23172316

23182317
```csharp
23192318
public class TableWithAllCascadeOptions

0 commit comments

Comments
 (0)