Print Page | Close Window

How to call SPs that are not affecting PersistenceManager?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=236
Printed Date: 19-May-2025 at 7:42pm


Topic: How to call SPs that are not affecting PersistenceManager?
Posted By: Customer
Subject: How to call SPs that are not affecting PersistenceManager?
Date Posted: 12-Jul-2007 at 5:18pm

How do you call SPs that are not affecting PersistenceManager?

For example, I need to check some business rules, and SP will return me some values, based on which I create my application logic.




Replies:
Posted By: IdeaBlade
Date Posted: 12-Jul-2007 at 5:19pm
Use RPC.  See example in Reference Help under ServerRpcDelegate.  Call the Delegate on the Server from the client.  Execute the SP on the server.  Return the values to the client.  This will work for either N-Tier or Client Server.



Print Page | Close Window