static private void GetTheCount() { EmployeesQuery q = new EmployeesQuery(); q.Select(q.Count()); q.Where(q.LastName.Like("%a")); int count = q.ExecuteScalar <int>(); }
static private void GetTheCount() { EmployeesQuery q = new EmployeesQuery(); q.Select(q.Count()); q.Where(q.LastName.Like("%a")); int count = q.ExecuteScalar <int>(); }