Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Why not LiveBindings can not support Record(Struct)?



Permlink Replies: 0
TinTin TinTin

Posts: 5
Registered: 4/9/06
Why not LiveBindings can not support Record(Struct)?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 9, 2018 12:27 AM
OnCreateAdapter(Sender: TObject;
var ABindSourceAdapter: TBindSourceAdapter)
begin

ABindSourceAdapter := TListBindSourceAdapter<TPerson>.Create(Self, FMyPeople, True);

end;

TListBindSourceAdapter<T: class> = class(TBaseListBindSourceAdapter)

Why not support TListBindSourceAdapter<T: record>? you can uses TArray<Record> replace with TObject<Class>
============================================================
if I have json data and converto entity record data, I cant use LiveBindings.

This is why no developers use livebinding.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02