First time i try with a code first server using eventsinks. Look at this simple declaration server side:
snippet.pas (1.2 KB)
When i generate client interfacefile - there are only the [ROServiceMethod] available. No EventSink Interface at all. By accident i’ve tried to call the eventsink in a service method like:
other_snippet.pas (282 Bytes)
Now compile server and update interface from client - Interface and Eventsink is available in client interfacefile now.
How to do it a proper way? Is ist possible to register the eventsink somehow?
I’m using Delphi 10.4 with RO 10.0.0.1481
Edit: how could one quote delphi code inside a topic?