CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Test.ObjectFactory.CommandObject Class Reference
Inheritance diagram for Csla.Test.ObjectFactory.CommandObject:
Csla.CommandBase< CommandObject >

Static Public Member Functions

static bool CanExecuteCommand ()
 
static bool Execute (IDataPortal< CommandObject > dataPortal)
 

Static Public Attributes

static readonly PropertyInfo< bool > ResultProperty = RegisterProperty<CommandObject, bool>(p => p.Result)
 

Properties

bool Result [getset]
 

Additional Inherited Members

- Public Member Functions inherited from Csla.CommandBase< CommandObject >
 CommandBase ()
 Creates an instance of the type. More...
 
Clone ()
 Creates a clone of the object. More...
 
- Protected Member Functions inherited from Csla.CommandBase< CommandObject >
virtual void Initialize ()
 Override this method to set up event handlers so user code in a partial class can respond to events raised by generated code. More...
 
virtual void DataPortal_OnDataPortalInvoke (DataPortalEventArgs e)
 Called by the server-side DataPortal prior to calling the requested DataPortal_xyz method. More...
 
virtual void DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e)
 Called by the server-side DataPortal after calling the requested DataPortal_xyz method. More...
 
virtual void DataPortal_OnDataPortalException (DataPortalEventArgs e, Exception ex)
 Called by the server-side DataPortal if an exception occurs during server-side processing. More...
 
virtual object GetClone ()
 Creates a clone of the object. More...
 
- Static Protected Member Functions inherited from Csla.CommandBase< CommandObject >
static PropertyInfo< P > RegisterProperty< P > (PropertyInfo< P > info)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 

Detailed Description

Definition at line 17 of file Csla.test/ObjectFactory/CommandObject.cs.

Member Function Documentation

◆ CanExecuteCommand()

static bool Csla.Test.ObjectFactory.CommandObject.CanExecuteCommand ( )
static

Definition at line 21 of file Csla.test/ObjectFactory/CommandObject.cs.

◆ Execute()

static bool Csla.Test.ObjectFactory.CommandObject.Execute ( IDataPortal< CommandObject dataPortal)
static

Definition at line 30 of file Csla.test/ObjectFactory/CommandObject.cs.

Member Data Documentation

◆ ResultProperty

readonly PropertyInfo<bool> Csla.Test.ObjectFactory.CommandObject.ResultProperty = RegisterProperty<CommandObject, bool>(p => p.Result)
static

Definition at line 46 of file Csla.test/ObjectFactory/CommandObject.cs.

Property Documentation

◆ Result

bool Csla.Test.ObjectFactory.CommandObject.Result
getset

Definition at line 47 of file Csla.test/ObjectFactory/CommandObject.cs.