예제 #1
0
        public IAuditQuery AndAnyText(Matches matchType, string text)
        {
            criteriaBuilder.AndStringMatch(matchType, nameof(AuditEntity.Description), text);
            criteriaBuilder.OrStringMatch(matchType, nameof(AuditEntity.Action), text);
            criteriaBuilder.OrStringMatch(matchType, nameof(AuditEntity.Source), text);
            criteriaBuilder.OrStringMatch(matchType, nameof(AuditEntity.SubjectIdentifier), text);
            criteriaBuilder.OrStringMatch(matchType, nameof(AuditEntity.Resource), text);

            return(this);
        }