Deleting a Runtime Dynamic Property
You can delete a runtime dynamic property by using the
In the following example, a runtime dynamic property called email is deleted from the Customer class.
vars
cluster : JadeDynamicPropertyCluster;
begin
cluster := Customer.findDynamicPropertyCluster("CustomerCluster");
beginTransaction;
cluster.deleteDynamicProperty("email");
commitTransaction;
end;
You could also code the previous example as follows.
begin
beginTransaction;
Customer.deleteDynamicProperty("email");
commitTransaction;
end;
You can delete a runtime dynamic property only if the class in which it is defined is not being used by any other process. If production mode is set, you can delete a runtime dynamic property in single user mode only.
