Code examples

We want all persons.
    s.Person.Go();
We want all persons that have a job.
    s.Person.WhichHas(s.Job).Go();
We want the person with the most jobs.
    s.Person.WhichHas(d.Most, s.Job).Go();
We want the person with the most jobs and we want to check the result in the testing environment.
    s.Person.WhichHas(d.Most, s.Job).Test().Go();
We want the person with the most jobs, we want to check the result in the testing environment, and we want it to be executed asynchronously.
    s.Person.WhichHas(d.Most, s.Job).GoAsync();
We want the person with the most jobs, we want to check the result in the testing environment, we want it to be executed asynchronously, and when the execution is completed, we want to push the result back to the database.
    s.Person.WhichHas(d.Most, s.Job)                   
        .Test()
        .Select(0, "FirstName")
        .GoAsync<DataTable>(result => d.BulkInsertGo(result, s.TempData));