I kind of relize that, (my class is not persistent) but my question is why after removing the method I still can not re-compile the class?
"Bill McCormick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sounds like a problem with the class inheritance or storage. You did not > provide the entire class definition so it is hard to analyze further. > %DeleteData comes from the %Persistent classes > > Is the class marked abstract or subclassed from abstract? > Is the persistent keyword there? > Is there a storage definition? > > RJH wrote: > > > I added a method to delete a record here is the code: > > > > ClassMethod DeleteRecord(intID As %Integer) > > { > > //Set obj = ##class(ClassNamePackage.Class).%OpenId(intID) > > //Do obj.%Delete() > > //Do ##class(ClassNamePackage.Class).%DeleteId(intID) > > set sc=$zobjclassmethod(ClassNamePackage.Class,"%DeleteId",intID) > > > > } > > > > As you can see I tried 3 different versions. But I get the following error > > > > Method or property %DeleteData does not exists. > > > > I removed the method, but can not re-compile. I get the same error. Can > > anyone help and explain what is going on? > > > >
