示例#1
0
        private static string GetFilterQuery(string entityName, SearchRequestDto searchDTO)
        {
            var baseFilterQuery = SearchUtils.GetWhereReplacingParameters(searchDTO, entityName);

            if (baseFilterQuery == null)
            {
                return("");
            }
            return(" and ( " + baseFilterQuery + ") ");
        }