From c5c2119fe0f0b18dac9804b368d7dd66254794d3 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Tue, 19 Dec 2023 13:30:43 -0800 Subject: [PATCH] docs: fix broken anchor --- docs/modeling/model-components/behaviors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modeling/model-components/behaviors.md b/docs/modeling/model-components/behaviors.md index 3678b82d3..b8648abc3 100644 --- a/docs/modeling/model-components/behaviors.md +++ b/docs/modeling/model-components/behaviors.md @@ -148,7 +148,7 @@ Returns a `DbSet` that items can be added to (creates) or remove from (delete -Provides a chance to validate the properties of the DTO object itself, as opposed to doing validation in `BeforeSave` of the properties of the model after the DTO has been mapped to the model. This also where [attribute-based validation](/topics/security.md#validateattributesforsaves) is performed. +Provides a chance to validate the properties of the DTO object itself, as opposed to doing validation in `BeforeSave` of the properties of the model after the DTO has been mapped to the model. This also where [attribute-based validation](/topics/security.md#attribute-validation) is performed. To perform custom validation in this method (uncommon), there are a number of extension methods on `IClassDto` that can be used to access the value of the properties of [Generated C# DTOs](/stacks/agnostic/dtos.md). For behaviors on [Custom DTOs](/modeling/model-types/dtos.md) where the DTO type is known, simply cast to the correct type.