Exemplo n.º 1
0
        public List <CustomerAccountEntity> GetCustomerAccounts(string customerId)
        {
            var expQuery = ExtLinq.True <CustomerAccountEntity>();

            expQuery = expQuery.And(t => t.F_CustomerId == customerId);
            List <CustomerAccountEntity> accounts = customerAccountRepository.IQueryable(expQuery).ToList();

            return(accounts);
        }