The EntitySpaces 2008 API Reference (Full)
Load Method (query)
EntitySpaces.CoreBusinessObjectsEmployeesLoad(EmployeesQuery)
Persistence Layer and Business Objects for Microsoft .NET
Used to custom load a Join query. Returns true if at least one row is loaded. For an entity, an exception will be thrown if more than one row is loaded.
Declaration Syntax
C#Visual Basic
public bool Load(
	EmployeesQuery query
)
Public Function Load ( _
	query As EmployeesQuery _
) As Boolean
Parameters
query (EmployeesQuery)
The query object instance name.
Return Value
True if at least one record was loaded.
Remarks
Provides support for InnerJoin, LeftJoin, RightJoin, and FullJoin. You must provide an alias for each query when instantiating them.
CopyC#
EmployeeCollection collection = new EmployeeCollection();

EmployeeQuery emp = new EmployeeQuery("eq");
CustomerQuery cust = new CustomerQuery("cq");

emp.Select(emp.EmployeeID, emp.LastName, cust.CustomerName);
emp.LeftJoin(cust).On(emp.EmployeeID == cust.StaffAssigned);

collection.Load(emp);
CopyVB.NET
Dim collection As New EmployeeCollection()

Dim emp As New EmployeeQuery("eq")
Dim cust As New CustomerQuery("cq")

emp.Select(emp.EmployeeID, emp.LastName, cust.CustomerName)
emp.LeftJoin(cust).On(emp.EmployeeID = cust.StaffAssigned)

collection.Load(emp)

Assembly: BusinessObjects (Module: BusinessObjects) Version: 2008.1.811.0 (2008.1.0811.0)