How to do make a function of BusinessBase run at server?How to do make a function of BusinessBase run at server?
Old forum URL: forums.lhotka.net/forums/t/640.aspx
phucphlq posted on Monday, July 17, 2006
I have a class
public
class BasicRoot: Csla.BusinessBase<BasicRoot>
{
..............
public void Call()
{
}
}
At client, I call BasicRoot.Call(), I want this function execute at server. How to do?
kids_pro replied on Monday, July 17, 2006
Read Chapter 12 - Implement Remote Data Portal.
In short it just a configuration part which decide your object creation local/server.
CSLA Cool
RockfordLhotka replied on Monday, July 17, 2006
If your goal is to execute a specific method on the server, you'll probably want to have your client-side business object method execute a CommandBase-derived object. This is illustrated in Chapter 8 (toward the end) where I walk through the Exists() command implementation.Copyright (c) Marimer LLC