TabularProviderGetDateTrimFunction Method (DateTimeGranularity, String)

Returns a function that can be used to 'trim date/time' values to a specified grain.

Namespace:  Dundas.BI.Data.DataProviders.Special
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public override string GetDateTrimFunction(
	DateTimeGranularity dateGranularity,
	string dataTypeName
)

Parameters

dateGranularity
Type: Dundas.BI.DataDateTimeGranularity
Grain of the 'date/time'.
dataTypeName
Type: SystemString
Original name of the 'date/time' data type.

Return Value

Type: String
Date trimming function.
Remarks
Used for query generation.

{0} is used as a placeholder for the 'date/time' column or variable.
See Also