Exemplo n.º 1
0
        public List <FilterIpBaseEntity> GetList(string keyword)
        {
            var expression = ExtLinq.True <FilterIpBaseEntity>();

            if (!string.IsNullOrEmpty(keyword))
            {
                expression = expression.And(t => t.F_StartIP.Contains(keyword));
            }
            return(service.Queryable(expression).OrderByDescending(t => t.F_DeleteTime).ToList());
        }