Still not sure why the
RTL code is like this: procedure TRemotable.SetDataContext(Value: TDataContext); begin if (RemotableDataContext <> nil) and (RemotableDataContext = Self.DataContext) then begin TDataContext(RemotableDataContext).RemoveObjectToD estroy(Self); end; FDataContext := Value; end; It means that if you ever have to change the DataContext property from the default global RemotableDataContext, it will be removed, but not added to […]
Weiterlesen...