Hi,
I have some classes like below. And i want to search, list of the person records that persontype id = 5 and name = "XX"
class Person
{
public int Id { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public string User { get; set; }
public string Pass { get; set; }
public bool active { get; set; }
public List<PersonType> listType { get; set; }
}
public class PersonType
{
public int id { get; set; }
public string name { get; set; }
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.