To define a data method in C#. 1  In Visual Studio, from the File menu, point to New and then click Project. 2  In the New Project window, click the Microsoft Dynamics AX installed template and then click the Report Model template. 3  Give the reporting project a name and then click OK.