In a Wcf service I have the following ServiceContract:
[ServiceContract]
public interface IFooBarService
{ 
    [OperationContract]
    bool SetFooBar(FooBar fb);
}
[DataContract]
public class FooBar 
{
    [DataMember]
    public string ExternalId;
    [DataMember]
    public string Something;
    [DataMember]
    public List<Foo> Foos;
    [DataMember]
    public List<Bar> Bars;
}
I want to prevent The consumer of the Web Service from sending me List of null Foo/Bar Object. Is there any annotation to enforce this rules?