public override IEnumerable <Condition> GetLookupConditions(string fieldName, string recordType, string reference, IRecord record) { var propertyInfo = GetPropertyInfo(fieldName, recordType); var attr = propertyInfo.GetCustomAttributes <LookupCondition>(); var conditions = attr == null ? new Condition[0].ToList() : attr.Select(a => a.ToCondition()).ToList(); var otherCondition = ObjectRecordService.GetLookupConditionFors(fieldName, recordType, reference, record); if (otherCondition != null) { conditions.Add(otherCondition); } return(conditions); }