[This is preliminary documentation and is subject to change.]

Constructor to create an instance from the database

Namespace:  OfficeClip.DBLayer.Service
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public OCTask Populate(
	int taskId,
	int userId,
	bool isAdmin
)
Visual Basic (Declaration)
Public Function Populate ( _
	taskId As Integer, _
	userId As Integer, _
	isAdmin As Boolean _
) As OCTask
Visual C++
public:
OCTask^ Populate(
	int taskId, 
	int userId, 
	bool isAdmin
)

Parameters

taskId
Type: System..::.Int32
The unique id of the task
userId
Type: System..::.Int32
the unique id of the current user
isAdmin
Type: System..::.Boolean
Is the current user an administrator

Return Value

The OfficeClip task object

See Also