nope, I have no persistent fields there.
However is something else, is not the "parent" name exclusivelly, Anything I use to change the property name from "grupo" does not work. Even if I just add an "s" to the end.
Follow the complete declaration of this class:
type
[Entity]
[Table('GRUPO')]
[Id('ID', TIdGenerator.Guid)]
TEntityGrupo = class(TNaharEntity)
private
FId: TGuid;
FNome: string;
FDescricao: Nullable<string>;
FLink: Nullable<string>;
[Association([TAssociationProp.Lazy], [])]
[JoinColumn('IDGRUPO', [])]
FGrupo: Proxy<TEntityGrupo>;
private
function GetDominio: Integer;
procedure SetDominio(const Value: Integer);
procedure SetDescricao(const Value: Nullable<string>);
procedure SetNome(const Value: string);
function GetOwner: TGUID;
procedure SetOwner(const Value: TGUID);
function GetGrupo: TEntityGrupo;
procedure SetGrupo(const Value: TEntityGrupo);
procedure SetLink(const Value: Nullable<string>);
public
[Column('ID', [TColumnProp.Unique, TColumnProp.Required, TColumnProp.NoUpdate])]
property Id: TGUID read FId write FId;
[Column('DOMINIO', [], 0)]
property Dominio: Integer read GetDominio write SetDominio;
[Column('OWNER', [], 0)]
property Owner: TGUID read GetOwner write SetOwner;
[Column('NOME', [TColumnProp.Required], 100)]
property Nome: string read FNome write SetNome;
[Column('DESCRICAO', [], 100)]
property Descricao: Nullable<string> read FDescricao write SetDescricao;
property Grupo: TEntityGrupo read GetGrupo write SetGrupo;
[Column('LINK', [], 20)]
property Link: Nullable<string> read FLink write SetLink;
end;
I am puzzled by that.
How it looks like on TAureliusDataSet: