我有类Client:
public class Client:EntityBase
{
public virtual string Name { get; set; }
public virtual IList<Phone> Phones { get; set; }
}
和班级电话:
public class Phone:EntityBase
{
public virtual string Phone { get; set; }
public virtual string Type { get; set; } // Fixed or Cellphone
}
考虑到“固定”和“手机”类型,如何返回Phone.Type.Equal(“手机”)的所有客户端,如果他们在CRITERIA中同时删除“已修复”?