Relationship pageRelationship = new Relationship(typeof(Company), typeof(Contact), RelationshipTypeEnum.StrongParent);
Relationship pageRelationship = new Relationship(typeof(Industry), typeof(Company), RelationshipTypeEnum.StrongParent);
Criterion<Industry> industryCriterion = new Criterion<Industry>(CriteriaOperatorEnum.And)
.Add("IndustryName", "Accomodation", ComparisonOperatorEnum.Like, CriteriaOperatorEnum.And));
List<Contact> contact;
using (ObjectFactory<Contact> mapper = new ObjectFactory<Contact>())
contact = mapper.GetDataObjects(industryCriterion, new Ordering().Add<Contact>("FirstName", Direction.Ascending));