CommandBase example

CommandBase example

Old forum URL:

hramos360 posted on Friday, April 29, 2011

The CSLA samples files which show to use of CommandBase seem incomplete.

Looking at the ExistsCommand in the Resources.cs file, there does not appear to be a

DataPortal_Execute method.  As such, I'm wondering how the server code is executed?





RockfordLhotka replied on Friday, April 29, 2011

ProjectTracker is not a good example. Well, actually the ProjectTracker currently in the svn repository trunk is good, but from 3.7-4.1 ProjectTracker got left behind...

The 4.2 ProjectTracker will be good, and over the next few weeks the svn trunk will get finalized because the latest ProjectTracker will be part of the last three ebooks in the Using CSLA 4 ebook series.

Here's the current ResourceExistsCommand class:


hramos360 replied on Friday, April 29, 2011

The code in the link supplied is more complete.

Thanks Rocky.

Copyright (c) Marimer LLC