Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Validate a collection against eachother

$
0
0

Is it possible to validate that each Person in People has doesn't have the same First and Last name?

public class Person
{
    public string First { get; set; }
    public string Last { get; set; }
}
public class People
{
    public List<Person> People { get; set; } 
}


Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>