Skip to content

Commit 5745ceb

Browse files
authored
Merge pull request #2258 from jcaruso001/master
Updating Validate
2 parents deb5ccf + 4d68c72 commit 5745ceb

File tree

1 file changed

+1
-1
lines changed
  • docs/examples/configuration/class-maps/validation

1 file changed

+1
-1
lines changed

docs/examples/configuration/class-maps/validation/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h6 id="example">Example</h6>
432432
public FooMap()
433433
{
434434
Map(m =&gt; m.Id);
435-
Map(m =&gt; m.Name).Validate(field =&gt; !field.Contains(&quot;-&quot;));
435+
Map(m =&gt; m.Name).Validate(item =&gt; !item.Field.Contains(&quot;-&quot;));
436436
}
437437
}
438438
</code></pre>

0 commit comments

Comments
 (0)