int 배열을 사용하여 연결된 WHERE 절을 만드는 방법이 있는지 궁금합니다. 나는 전체 배열을 결합한 결과를 얻을 필요가있다. 당신은이 작업을 수행 할 수문자열의 배열을 가진 병합 된 Where 절
public ViewResult Results(int? programId, int? programYear, int? programTypeId, string toDate, string fromDate, int?[] programTypeIdList, int?[] programIdList)
{
surveyResponseRepository.Get().Any(x => x.ProgramId == programIdList);
}