DataMethodUtility Class

Utility DataMethods

Namespace:  Microsoft.Dynamics.Framework.Reports
Assembly:  Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)

Syntax

'Declaration
Public NotInheritable Class DataMethodUtility
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class DataMethodUtility
public ref class DataMethodUtility abstract sealed

Remarks

Public framework data methods added in report RDL must call UpdateAxContext(companyName, axUser, renderingCulture) if it connects to AX: The axUser argument must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetUserContextExpression during RDL generation.

The companyName argument is required if the data method is company specific, it must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetCompanyNameExpression during RDL generation; use String.Empty as input to UpdateAxContext if the logic is not company specific The renderingCulture argument is required if the data method is culture/language specific, it must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetRenderingCultureExpression during RDL generation; use String.Empty as input to UpdateAxContext if the logic is not culture specific

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Framework.Reports.DataMethodUtility

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Framework.Reports Namespace