|
| 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.
|
| virtual void | DataPortal_OnDataPortalInvoke (DataPortalEventArgs e) |
| | Called by the server-side DataPortal prior to calling the requested DataPortal_xyz method.
|
| virtual void | DataPortal_OnDataPortalInvokeComplete (DataPortalEventArgs e) |
| | Called by the server-side DataPortal after calling the requested DataPortal_xyz method.
|
| virtual void | DataPortal_OnDataPortalException (DataPortalEventArgs e, Exception ex) |
| | Called by the server-side DataPortal if an exception occurs during server-side processing.
|
| virtual object | GetClone () |
| | Creates a clone of the object.
|
| P? | ReadPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< F > propertyInfo) |
| | Gets a property's value from the list of managed field values, converting the value to an appropriate type.
|
| P? | ReadProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo) |
| | Gets a property's value as a specified type.
|
| void | LoadPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F > (PropertyInfo< P > propertyInfo, F? newValue) |
| | Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change.
|
| void | LoadProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P? newValue) |
| | Loads a property's managed field with the supplied value calling PropertyHasChanged if the value does change.
|
| void | OnPropertyChanged (string propertyName) |
| | Raises the PropertyChanged event.
|
| void | OnPropertyChanged (IPropertyInfo propertyInfo) |
| | Raises the PropertyChanged event.
|
| override void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| | Override this method to manually retrieve child object data from the serializations stream.
|
| override void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| | Override this method to manually serialize child objects into the serialization stream.
|
| virtual void | OnGetState (SerializationInfo info, StateMode mode) |
| | Override this method to insert your field values into the MobileFormatter serialization stream.
|
| virtual void | OnSetState (SerializationInfo info, StateMode mode) |
| | Override this method to retrieve your field values from the MobileFormatter serialization stream.
|
| virtual void | OnGetMetastate (BinaryWriter writer) |
| | Override this method to write field values directly to a binary stream for metastate serialization.
|
| virtual void | OnSetMetastate (BinaryReader reader) |
| | Override this method to read field values directly from a binary stream for metastate deserialization.
|
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > info) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string? propertyName) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string? propertyName, RelationshipTypes relationship) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string? propertyName, string? friendlyName) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, string? friendlyName) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string propertyName, string? friendlyName, P defaultValue) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, string? friendlyName, P defaultValue) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string propertyName, string? friendlyName, P defaultValue, RelationshipTypes relationship) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, string? friendlyName, P defaultValue, RelationshipTypes relationship) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type objectType, PropertyInfo< P > info) |
| | Indicates that the specified property belongs to the type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, P? defaultValue) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, string? friendlyName) |
| | Indicates that the specified property belongs to the business object type.
|
| static PropertyInfo< P > | RegisterProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P? defaultValue) |
| | Indicates that the specified property belongs to the business object type.
|
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.