Hi team:
i donlowad metadata from dynamics URL http..../data/$metadata, then in config odataCliente into localPath: to code C#generate with oDataCliente.tt. -> oDataClient.cs
Then. i have the next error when compiled to code:
Severity Code Description Project File Line Suppression State
Error CS0542 'SystemNotification': member names cannot be the same as their enclosing type ODataUtility
C:\Users\UserABC\Documents\Visual Studio 2015\Projects\Dynamic365\odata\TestODataSolution\ODataUtility\ODataClient.cs
898896 Active
I can See into $metadata file:
Line 3888: <EntityType Name="SystemNotification">
Line 3955: <Annotation Term="Microsoft.Dynamics.OData.Core.V1.LabelId" String="SystemNotification" />
Line 369502: <Action Name="SystemNotification" IsBound="true">
Line 369503: <Parameter Name="SystemNotification" Type="Microsoft.Dynamics.DataEntities.SystemNotification" />
Line 369503: <Parameter Name="SystemNotification" Type="Microsoft.Dynamics.DataEntities.SystemNotification" />
Line 370751: <EntitySet Name="SystemNotification" EntityType="Microsoft.Dynamics.DataEntities.SystemNotification" />
Line 370751: <EntitySet Name="SystemNotification" EntityType="Microsoft.Dynamics.DataEntities.SystemNotification" />

Versión Microsoft Dynamics
Installed product version : 10.0.13 (10.0.569.10005)
Installed platform version : Update37 (7.0.5746.35600)
Many thanks for help.