After the last update and the refactoring of the naming functions I am using the Mapping.config file but I have the following bug. I have a Table in the DB with the name DMenu and with fields
MenuID , MenuGroupID, Params (and some other).
My Mappings.config file is like that :
<Table Id="DMenu" EntityName="DMenu" Owner="dbo" PropertyName="DMenu" FieldName="dmenu" FriendlyName="Dmenu" IncludeInOutput="true">
<Column Id="MenuID" CSType="System.Decimal" PropertyName="MenuID" FieldName="menuId" FriendlyName="Menu Id" IncludeInOutput="true" />
<Column Id="MenuGroupID" CSType="System.Decimal" PropertyName="MenuGroupID" FieldName="menuGroupId" FriendlyName="Menu Group Id" IncludeInOutput="true" />
<Column Id="Params" CSType="System.String" PropertyName="Params" FieldName="parrams" FriendlyName="Params" IncludeInOutput="true" />
</Table>
As you can see above the FiedName for the column Params is parrams (with double r) as the word params is a reserved word and can't be used as a variable name. But when I am building NetTiers files the generated file use the word params in the constructor of the Entity which is wrong and produce a compilation error. Can you please check it?
Sex is like programming; one mistake and you must support it forever...