Click or drag to resize

WorkWeekControllerGetWorkDays Method

Returns a collection of work dates for a user. A work date is a date where the work hours are above 0.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static DateTimeCollection GetWorkDays(
	int userId,
	DateTime localStartDate,
	DateTime localEndDate,
	bool includeExceptions,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

userId
Type: SystemInt32
localStartDate
Type: SystemDateTime
Start time on local time.
localEndDate
Type: SystemDateTime
End time in local time.
includeExceptions
Type: SystemBoolean
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: DateTimeCollection
See Also