How can I execute a non public command (DataAbstract in Dephi 7)?
I create the command with the schema modeler unsetting the “public” checkbox.
I instantiated a TDALocalCommand setting the SessionId to the one of a local session i.e. a session which is connected through a local channel, but I always get an ‘is not public’ error when I try to execute the command, because in DataAbstractService_Impl I see this line
DAError(assigned(lCommandSchema) and not (lCommandSchema.IsPublic),err_SIsNotAccessible,[lCommandSchema.Name]);
so every not public command will never be executed, because there isn’t a check to see if the connection is local or not, but reading the documentation I understood that they could be executed locally.
What am I missing ?