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
)
Public Overrides Function GetDateTrimFunction (
dateGranularity As DateTimeGranularity,
dataTypeName As String
) As String
public:
virtual String^ GetDateTrimFunction(
DateTimeGranularity dateGranularity,
String^ dataTypeName
) override
abstract GetDateTrimFunction :
dateGranularity : DateTimeGranularity *
dataTypeName : string -> string
override GetDateTrimFunction :
dateGranularity : DateTimeGranularity *
dataTypeName : string -> string
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