Try OpenEdge Now
skip to main content
.NET Open Clients
Proxy Objects and Methods : Proxy methods : Class factory methods : ProcObject
 
ProcObject
The following method allows AppObjects or SubAppObjects to create ProcObjects that share an AppServer connection with an existing AppObject or SubAppObject:
public ProcObject
CreatePO_ProcObject( )
For example, a procedure AccountInfo.p added in ProxyGen as persistent, single-run, or singleton generates this .NET method:
public AccountInfo CreatePO_AccountInfo( )
Note that AccountInfo.p cannot be run as single-run or singleton if it has parameters in its main block, and ProxyGen will not allow you to designate a procedure as single-run or singleton if that procedure has parameters in its main block.