RelationalDataProviderGetDateTrimFunction Method (IProviderConnector, DateTimeGranularity, String) |
Returns a function that can be used to 'trim date/time' values to a specified grain.
Namespace:
Dundas.BI.Data.DataProviders.Relational
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public virtual string GetDateTrimFunction(
IProviderConnector dataConnector,
DateTimeGranularity dateGranularity,
string dataTypeName
)
Public Overridable Function GetDateTrimFunction (
dataConnector As IProviderConnector,
dateGranularity As DateTimeGranularity,
dataTypeName As String
) As String
public:
virtual String^ GetDateTrimFunction(
IProviderConnector^ dataConnector,
DateTimeGranularity dateGranularity,
String^ dataTypeName
)
abstract GetDateTrimFunction :
dataConnector : IProviderConnector *
dateGranularity : DateTimeGranularity *
dataTypeName : string -> string
override GetDateTrimFunction :
dataConnector : IProviderConnector *
dateGranularity : DateTimeGranularity *
dataTypeName : string -> string
Parameters
- dataConnector
- Type: Dundas.BI.Data.DataProvidersIProviderConnector
The data connector. - 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