Hi,
I'm trying to hide some fields from the result XData json without luck.
Here is an example:
[Entity]
[Table('USERS')]
[Sequence('SQ_USERS')]
[Id('FID', TIdGenerator.IdentityOrSequence)]
TUser = class
private
[Column('ID', ColumnPropPrimaryKey)]
FID: Integer;
[Column('USER_NAME', [TColumnProp.Required], 60)]
FUserName: string;
[Column('PASSWORD', [], 64)]
[XDataExcludeProperty]
FPassword: string;
public
property ID: TIdentificador read FID write FID;
property UserName: string read FUserName write FUserName;
property Password: string read FPassword write FPassword;
end;
Field 'Password' is still included in the Json.
Any hints?