Click or drag to resize
IQueryRunnerTimeSheetFactory Method (Int64, TimeInterval, EquityType, String)
This function creates a TimesSheet object.

Namespace:  C2ExplorerServiceStack.Logic.Interfaces
Assembly:  C2ExplorerServiceStack.Logic (in C2ExplorerServiceStack.Logic.dll) Version: 1.0
Syntax
C#
ITimeSheet TimeSheetFactory(
	long systemId,
	TimeInterval timeInterval = TimeInterval.Month,
	EquityType equityType = EquityType.Equity,
	string planId = "default"
)

Parameters

systemId
Type: SystemInt64
Systems id.
timeInterval (Optional)
Type: C2ExplorerServiceStack.Logic.InterfacesTimeInterval
Desired aggregation time interval.
equityType (Optional)
Type: C2ExplorerServiceStack.Logic.InterfacesEquityType
Type(s) of the equity to be included.
planId (Optional)
Type: SystemString
Commissions plan identifier.

Return Value

Type: ITimeSheet
Initialized TimeSheet object.
See Also