|
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...
|
|
P | ReadPropertyConvert< F, P > (PropertyInfo< F > propertyInfo) |
| Gets a property's value from the list of managed field values, converting the value to an appropriate type. More...
|
|
P | ReadProperty< P > (PropertyInfo< P > propertyInfo) |
| Gets a property's value as a specified type. More...
|
|
void | LoadPropertyConvert< P, F > (PropertyInfo< P > propertyInfo, F newValue) |
| Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More...
|
|
void | LoadProperty< P > (PropertyInfo< P > propertyInfo, P newValue) |
| Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change. More...
|
|
void | OnPropertyChanged (string propertyName) |
| Raises the PropertyChanged event. More...
|
|
void | OnPropertyChanged (IPropertyInfo propertyInfo) |
| Raises the PropertyChanged event. More...
|
|
override void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to manually retrieve child object data from the serializations stream. More...
|
|
override void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| Override this method to manually serialize child objects into the serialization stream. More...
|
|
virtual void | OnDeserialized (System.Runtime.Serialization.StreamingContext context) |
| This method is called on a newly deserialized object after deserialization is complete. More...
|
|
virtual void | OnGetState (SerializationInfo info, StateMode mode) |
| Override this method to insert your field values into the MobileFormatter serialzation stream. More...
|
|
virtual void | OnSetState (SerializationInfo info, StateMode mode) |
| Override this method to retrieve your field values from the MobileFormatter serialzation stream. More...
|
|
|
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 > (Expression< Func< T, object > > propertyLambdaExpression, P defaultValue) |
| 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 > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, RelationshipTypes relationship) |
| 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...
|
|
static PropertyInfo< P > | RegisterProperty< P > (Type objectType, PropertyInfo< P > info) |
| Indicates that the specified property belongs to the type. More...
|
|
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression) |
| Indicates that the specified property belongs to the business object type. More...
|
|
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, P defaultValue) |
| Indicates that the specified property belongs to the business object type. More...
|
|
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName) |
| Indicates that the specified property belongs to the business object type. More...
|
|
static PropertyInfo< P > | RegisterProperty< T, P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue) |
| Indicates that the specified property belongs to the business object type. More...
|
|
This is the base class from which command objects will be derived.
Command objects allow the execution of arbitrary server-side functionality. Most often, this involves the invocation of a stored procedure in the database, but can involve any other type of stateless, atomic call to the server instead.
To implement a command object, inherit from CommandBase and override the DataPortal_Execute method. In this method you can implement any server-side code as required.
To pass data to/from the server, use instance variables within the command object itself. The command object is instantiated on the client, and is passed by value to the server where the DataPortal_Execute method is invoked. The command object is then returned to the client by value.
Definition at line 46 of file CommandBase.cs.