Beispiel #1
0
        public List <AccountType> GetAccountTypeList(Pagination pagination, string keyword)
        {
            var e = ExtLinq.True <AccountType>();

            e = e.And(x => (x.DeleteMark == null ? false : x.DeleteMark) != true);
            if (!string.IsNullOrEmpty(keyword))
            {
                e = e.And(x => x.TypeName.Contains(keyword));
            }
            var list = sAccount.FindList(e, pagination).ToList();

            return(list);
        }