'Declaration
Public Function GetDepartment( _ ByVal departmentID As Guid, _ Optional ByVal loadArchived As Boolean _ ) As Customer.Department
'Usage
Dim instance As DataAccess Dim departmentID As Guid Dim loadArchived As Boolean Dim value As Customer.Department value = instance.GetDepartment(departmentID, loadArchived)
public Customer.Department GetDepartment( Guid departmentID, bool loadArchived )
public: Customer.Department^ GetDepartment( Guid departmentID, bool loadArchived )
Parameters
- departmentID
- The unique identifier of the Department as a Guid.
- loadArchived
- Determines if deleted records are allowed to be returned in the result.
Return Value
A comprehensive Department object.