HI All,
The Below Line gets the Object Instance,if the custom type queried has a valid super type (like dm_sysobject or dm_document..)
IDfSysObject doc =(IDfSysObject) sess.getObjectByQualification("custom_type where pwc_r_status = 1");
how to get an object instance, if the custome type has a super type as NULL.
for ex: super type of test_object_type is NULL and the below line throws cast exception error
IDfSysObject doc =(IDfSysObject) sess.getObjectByQualification("test_object_type where pwc_r_status = 1");
is there any method (like above ) to get it? or i have to use IDfQuery class?
but some places i had read like IDfQuery is an costliest operation and should be avoided.
can anyone help on how to proceed? or where i went wrong? (if any?)
Regards
Swarup