...
For each dimension that a reservation can be related to (through either a lookup or a junction), this class supports two approachesuse cases:
Simple - The exact related record
...
is already known
...
. I.e. the resource lookup has already been populated with the id of room one.
Complex - The
...
related record
...
can be any out of a pool of records. I.e. we have a pool of resources (let’s say all rooms in building one), for which we want to know all the possible time slots
...
.
These use cases can be mixed in a single call to the method. For example the resource is fixed but the staff can be any from a pool of staff members.
Example use cases for lookups
...