ExternalProcName
Usage
To override the default name of the method when it is used as a stored procedure in a foreign database, use the following syntax:
ClassMethod name(formal_spec) As returnclass [ SqlProc, ExternalProcName = MyProcedure ] { //implementation }
Where MyProcedure is an unquoted string.
Details
This keyword lets you define the name to use for this method when it is used as a stored procedure in a foreign database.
Default
If you omit this keyword, the method name is used as the stored procedure name.
See Also
“Method Definitions” in this book
SqlProc keyword
“Defining Stored Procedures” in Using InterSystems SQL
“Defining and Calling Methods” in Defining and Using Classes
“Defining Method and Trigger Generators” in Defining and Using Classes
“Introduction to Compiler Keywords” in Defining and Using Classes