Command Object for VB.NET 2003

Command Object for VB.NET 2003

Old forum URL: forums.lhotka.net/forums/t/1775.aspx


balladish posted on Thursday, November 16, 2006

Hello All,

I am trying to figure out how to implement a Command Object under CSLA 1.5 for VB.NET 2003. All I need to do is expose a shared method that takes in a record ID and a boolean value, allowing the Object to access the DB to set the boolean value of the specified ID to true or false. It seems like the pre-2.0 and pre-.NET 2005 editions of CSLA do not support this object. Is this correct? I have not been able to find any sample code for this.

Thank you - any help would be appreciated.


ajj3085 replied on Thursday, November 16, 2006

If the CommandBase object is not in Csla 1.53 (which is the latest 1.x version), you should be able to pretty easily backport it from version 2.

RockfordLhotka replied on Thursday, November 16, 2006

CommandBase was added to CSLA .NET 1.x just over 2 years ago - I think in version 1.2 or 1.3.

ajj3085 replied on Friday, November 17, 2006

Ya I thought I remember it being added, but I couldn't remember which version. 

Copyright (c) Marimer LLC