var parameter = Expression.Parameter(typeof(AttendeeTable), "t");
// 会议id
var bventLeftExpression = Expression.PropertyOrField(parameter, nameof(AttendeeTable.BventId));
var bventRightExpresion = Expression.Constant(bventId, typeof(string));
var bventCompare = Expression.Equal(bventLeftExpression, bventRightExpresion);
// 字段
var leftExpression = Expression.PropertyOrField(parameter, fieldName);
var rightExpression = Expression.Constant(value, attendeeProperty.PropertyType);
var compare = Expression.Equal(leftExpression, rightExpression);
// and关联
var expression = Expression.AndAlso(bventCompare, compare);
var realExpression = Expression.Lambda<Func<AttendeeTable, bool>>(expression, parameter);
var count = await _attendeeDataAccess.GetCountAsync(realExpression);
return count > 0;