foreach(var prop in typeof(BusinessInfo).GetProperties()){
if(IsCondition(prop.GetValue(bus))){
sql.AppendFormat(" and {0}=@{0}",prop.Name);
}
}
if(IsCondition(prop.GetValue(bus))){
sql.AppendFormat(" and {0}=@{0}",prop.Name);
}
}