|
| override string | ToString () |
| | Returns a text representation of this object by returning the GetIdValue value in text form.
|
| T | Clone () |
| | Creates a clone of the object.
|
| T | Save () |
| | Saves the object to the database.
|
| Task< T > | SaveAsync () |
| | Saves the object to the database.
|
| Task< T > | SaveAsync (bool forceUpdate) |
| | Saves the object to the database.
|
| T | Save (bool forceUpdate) |
| | Saves the object to the database, forcing IsNew to false and IsDirty to True.
|
| Task | SaveAndMergeAsync () |
| | Saves the object to the database, merging any resulting updates into the existing object graph.
|
| async Task | SaveAndMergeAsync (bool forceUpdate) |
| | Saves the object to the database, merging any resulting updates into the existing object graph.
|
| virtual bool | CanReadProperty (IPropertyInfo property) |
| | Returns true if the user is allowed to read the calling property.
|
| bool | CanReadProperty (IPropertyInfo property, bool throwOnFalse) |
| | Returns true if the user is allowed to read the calling property.
|
| bool | CanReadProperty (string propertyName) |
| | Returns true if the user is allowed to read the specified property.
|
| virtual bool | CanWriteProperty (IPropertyInfo property) |
| | Returns true if the user is allowed to write the specified property.
|
| bool | CanWriteProperty (IPropertyInfo property, bool throwOnFalse) |
| | Returns true if the user is allowed to write the calling property.
|
| bool | CanWriteProperty (string propertyName) |
| | Returns true if the user is allowed to write the specified property.
|
| virtual bool | CanExecuteMethod (IMemberInfo method) |
| | Returns true if the user is allowed to execute the specified method.
|
| bool | CanExecuteMethod (IMemberInfo method, bool throwOnFalse) |
| | Returns true if the user is allowed to execute the specified method.
|
| virtual bool | CanExecuteMethod (string methodName) |
| | Returns true if the user is allowed to execute the specified method.
|
| void | BeginEdit () |
| | Starts a nested edit on the object.
|
| void | CancelEdit () |
| | Cancels the current edit process, restoring the object's state to its previous values.
|
| void | ApplyEdit () |
| | Commits the current edit process.
|
| virtual void | Delete () |
| | Marks the object for deletion. The object will be deleted as part of the next save operation.
|
| async Task | WaitForIdle () |
| | Await this method to ensure business object is not busy.
|
| Task | WaitForIdle (TimeSpan timeout) |
| | Await this method to ensure business object is not busy.
|
| virtual Task | WaitForIdle (CancellationToken ct) |
| | Await this method to ensure the business object is not busy.
|
| virtual bool | IsPropertyBusy (IPropertyInfo property) |
| | Gets a value indicating whether a specific property is busy (has a currently executing async rule).
|
| bool | IsPropertyBusy (string propertyName) |
| | Gets a value indicating whether a specific property is busy (has a currently executing async rule).
|
| BrokenRulesCollection | GetBrokenRules () |
| | Gets the broken rules for this object.
|
| bool | CanWriteProperty (Core.IPropertyInfo property) |
| | Returns true if the user is allowed to write the to the specified property.
|
| bool | CanReadProperty (Core.IPropertyInfo property) |
| | Returns true if the user is allowed to read the specified property.
|
| bool | CanExecuteMethod (Core.IMemberInfo method) |
| | Returns true if the user is allowed to execute the specified method.
|
| void | RuleStart (Core.IPropertyInfo property) |
| | Indicates that a rule has started processing.
|
| void | RuleComplete (Core.IPropertyInfo property) |
| | Indicates that a rule has finished processing.
|
|
| virtual ? object | GetIdValue () |
| | Override this method to return a unique identifying value for this object.
|
| virtual async Task< T > | SaveAsync (bool forceUpdate, object? userState, bool isSync) |
| | Saves the object to the database.
|
| virtual void | OnSaved (T newObject, Exception? e, object? userState) |
| | Raises the Saved event, indicating that the object has been saved, and providing a reference to the new object instance.
|
| | BusinessBase () |
| | Creates an instance of the type.
|
| override void | OnApplicationContextSet () |
| | Method invoked after ApplicationContext is available.
|
| 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 | SetParent (IParent? parent) |
| | Used by BusinessListBase as a child object is created to tell the child object about its parent.
|
| virtual void | MarkNew () |
| | Marks the object as being a new object. This also marks the object as being dirty and ensures that it is not marked for deletion.
|
| virtual void | MarkOld () |
| | Marks the object as being an old (not new) object. This also marks the object as being unchanged (not dirty).
|
| void | MarkDeleted () |
| | Marks an object for deletion. This also marks the object as being dirty.
|
| override void | OnGetMetastate (System.IO.BinaryWriter writer) |
| override void | OnSetMetastate (System.IO.BinaryReader reader) |
| void | MarkDirty () |
| | Marks an object as being dirty, or changed.
|
| void | MarkDirty (bool suppressEvent) |
| | Marks an object as being dirty, or changed.
|
| virtual void | PropertyHasChanged (IPropertyInfo property) |
| | Performs processing required when a property has changed.
|
| virtual void | MetaPropertyHasChanged (string name) |
| | Raises OnPropertyChanged for meta properties (IsXYZ) when PropertyChangedMode is not Windows.
|
| virtual void | CheckPropertyRules (IPropertyInfo property) |
| | Check rules for the property and notifies UI of properties that may have changed.
|
| virtual void | CheckObjectRules () |
| | Check object rules and notifies UI of properties that may have changed.
|
| void | MarkClean () |
| | Forces the object's IsDirty flag to false.
|
| override void | UndoChangesComplete () |
| | Called when an undo operation has completed.
|
| override void | AcceptChangesComplete () |
| | Notifies the parent object (if any) that this child object's edits have been accepted.
|
| void | MarkAsChild () |
| | Marks the object as being a child object.
|
| virtual object | GetClone () |
| | Creates a clone of the object.
|
| virtual void | OnValidationComplete () |
| | Raises the ValidationComplete event.
|
| BusinessRuleManager | GetRegisteredRules () |
| | Gets the registered rules. Only for unit testing and not visible to code.
|
| virtual void | AddBusinessRules () |
| | Override this method in your business class to be notified when you need to set up shared business rules.
|
| 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 data access.
|
| virtual void | Child_Create () |
| | Override this method to load a new business object with default values from the database.
|
| virtual void | Child_OnDataPortalInvoke (DataPortalEventArgs e) |
| | Called by the server-side DataPortal prior to calling the requested DataPortal_XYZ method.
|
| virtual void | Child_OnDataPortalInvokeComplete (DataPortalEventArgs e) |
| | Called by the server-side DataPortal after calling the requested DataPortal_XYZ method.
|
| virtual void | Child_OnDataPortalException (DataPortalEventArgs e, Exception ex) |
| | Called by the server-side DataPortal if an exception occurs during data access.
|
| virtual string | GetDataErrorInfoError () |
| | Returns a string describing the error state of the object for use by IDataErrorInfo.Error. This method is called by the IDataErrorInfo.Error property implementation.
|
| virtual IEnumerable | GetNotifyDataErrorInfoGetErrors (string? propertyName) |
| | Gets the validation errors for a specified property or for the entire entity for use by INotifyDataErrorInfo.GetErrors(string?). This method is called by the INotifyDataErrorInfo.GetErrors(string?) method implementation.
|
| virtual bool | GetNotifyDataErrorInfoHasErrors () |
| | Gets a value that indicates whether the entity has validation errors for use by INotifyDataErrorInfo.HasErrors. This method is called by the INotifyDataErrorInfo.HasErrors property implementation.
|
| virtual string | GetDataErrorInfoIndexerError (string columnName) |
| | Gets the error message for the property with the given name for use by IDataErrorInfo.this[string]. This method is called by the IDataErrorInfo.this[string] indexer implementation.
|
| virtual void | OnErrorsChanged (string? propertyName) |
| | Call to indicate that errors have changed for a property.
|
| override void | OnPropertyChanged (IPropertyInfo propertyInfo) |
| | Call this method to raise the PropertyChanged event for a specific property.
|
| virtual void | Deserialized () |
| | Invoked after the object has been deserialized to allow derived classes to perform custom post-deserialization processing.
|
| void | AddEventHooks (IBusinessObject child) |
| | For internal use.
|
| virtual void | OnAddEventHooks (IBusinessObject child) |
| | Hook child object events.
|
| void | RemoveEventHooks (IBusinessObject child) |
| | For internal use only.
|
| virtual void | OnRemoveEventHooks (IBusinessObject child) |
| | Unhook child object events.
|
| P? | GetProperty< P > (string propertyName, P field, P? defaultValue) |
| | Gets a property's value, first checking authorization.
|
| P? | GetProperty< P > (string propertyName, P field, P? defaultValue, NoAccessBehavior noAccess) |
| | Gets a property's value, first checking authorization.
|
| P? | GetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P field) |
| | Gets a property's value, first checking authorization.
|
| P? | GetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P field, P? defaultValue, NoAccessBehavior noAccess) |
| | Gets a property's value, first checking authorization.
|
| P? | GetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< F > propertyInfo, F field) |
| | Gets a property's value as a specified type, first checking authorization.
|
| P? | GetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< F > propertyInfo, F field, NoAccessBehavior noAccess) |
| | Gets a property's value as a specified type, first checking authorization.
|
| P? | GetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo) |
| | Gets a property's managed field value, first checking authorization.
|
| P? | GetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< F > propertyInfo) |
| | Gets a property's value from the list of managed field values, first checking authorization, and converting the value to an appropriate type.
|
| P? | GetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< F > propertyInfo, NoAccessBehavior noAccess) |
| | Gets a property's value from the list of managed field values, first checking authorization, and converting the value to an appropriate type.
|
| P? | GetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, NoAccessBehavior noAccess) |
| | Gets a property's value as a specified type, first checking authorization.
|
| object? | GetProperty (IPropertyInfo propertyInfo) |
| | Gets a property's value as a specified type.
|
| P? | GetProperty< P > (IPropertyInfo propertyInfo) |
| | Gets a property's managed field value, first checking authorization.
|
| P? | LazyGetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > property, Func< P > valueGenerator) |
| | Lazily initializes a property and returns the resulting value.
|
| bool | PropertyIsLoading (IPropertyInfo propertyInfo) |
| | Gets a value indicating whether a lazy loaded property is currently being retrieved.
|
| P? | LazyGetPropertyAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > property, Task< P > factory) |
| | Lazily initializes a property and returns the resulting value.
|
| 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.
|
| virtual ? object | ReadProperty (IPropertyInfo propertyInfo) |
| | Gets a property's value.
|
| P? | LazyReadProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > property, Func< P > valueGenerator) |
| | Gets a property's value as a specified type.
|
| P? | LazyReadPropertyAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > property, Task< P > factory) |
| | Gets a property's value as a specified type.
|
| void | SetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, ref P? field, P? newValue) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string propertyName, ref P? field, P? newValue) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] V > (PropertyInfo< P > propertyInfo, ref P? field, V? newValue) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] V > (PropertyInfo< P > propertyInfo, ref P? field, V? newValue, NoAccessBehavior noAccess) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (string propertyName, ref P? field, P? newValue, NoAccessBehavior noAccess) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] V > (string propertyName, ref P? field, V? newValue, NoAccessBehavior noAccess) |
| | Sets a property's backing field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P? newValue) |
| | Sets a property's managed field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F > (PropertyInfo< P > propertyInfo, F? newValue) |
| | Sets a property's managed field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetPropertyConvert<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] F > (PropertyInfo< P > propertyInfo, F? newValue, NoAccessBehavior noAccess) |
| | Sets a property's managed field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P? newValue, NoAccessBehavior noAccess) |
| | Sets a property's managed field with the supplied value, first checking authorization, and then calling PropertyHasChanged if the value does change.
|
| void | SetProperty (IPropertyInfo propertyInfo, object? newValue) |
| | Sets a property's managed field with the supplied value, and then calls PropertyHasChanged if the value does change.
|
| void | SetProperty< P > (IPropertyInfo propertyInfo, P? newValue) |
| | Sets a property's managed field with the supplied value, and then calls PropertyHasChanged if the value does change.
|
| 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.
|
| void | LoadProperty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P? newValue) |
| | Loads a property's managed field with the supplied value.
|
| bool | LoadPropertyMarkDirty<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] P > (PropertyInfo< P > propertyInfo, P? newValue) |
| | Loads a property's managed field with the supplied value and mark field as dirty if value is modified.
|
| virtual bool | LoadPropertyMarkDirty (IPropertyInfo propertyInfo, object? newValue) |
| | Loads a property's managed field with the supplied value.
|
| virtual void | LoadProperty (IPropertyInfo propertyInfo, object? newValue) |
| | Loads a property's managed field with the supplied value.
|
| void | LoadPropertyAsync<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] R > (PropertyInfo< R > property, Task< R > factory) |
| | Load a property from an async method.
|
| void | MarkBusy () |
| | Mark the object as busy (it is running an async operation).
|
| void | MarkIdle () |
| | Mark the object as not busy (it is not running an async operation).
|
| virtual void | OnBusyChanged (BusyChangedEventArgs args) |
| | Raise the BusyChanged event.
|
| virtual void | OnUnhandledAsyncException (ErrorEventArgs error) |
| | Raises the UnhandledAsyncException event.
|
| void | OnUnhandledAsyncException (object originalSender, Exception error) |
| | Raises the UnhandledAsyncException event.
|
| virtual void | OnChildChanged (ChildChangedEventArgs e) |
| | Raises the ChildChanged event, indicating that a child object has been changed.
|
| virtual void | EditChildComplete (IEditableBusinessObject child) |
| | Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has completed.
|
| override void | OnGetState (SerializationInfo info, StateMode mode) |
| | Override this method to insert your field values into the MobileFormatter serialization stream.
|
| override void | OnSetState (SerializationInfo info, StateMode mode) |
| | Override this method to retrieve your field values from the MobileFormatter serialization stream.
|
| override void | OnGetChildren (SerializationInfo info, MobileFormatter formatter) |
| | Override this method to insert your child object references into the MobileFormatter serialization stream.
|
| override void | OnSetChildren (SerializationInfo info, MobileFormatter formatter) |
| | Override this method to retrieve your child object references from the MobileFormatter serialization stream.
|
| | UndoableBase () |
| | Creates an instance of the type.
|
| virtual void | CopyingState () |
| | This method is invoked before the CopyState operation begins.
|
| virtual void | CopyStateComplete () |
| | This method is invoked after the CopyState operation is complete.
|
| virtual void | UndoingChanges () |
| | This method is invoked after the UndoChanges operation is complete.
|
| virtual void | AcceptingChanges () |
| | This method is invoked before the AcceptChanges operation begins.
|
| override void | OnGetState (SerializationInfo info, StateMode mode) |
| | Override this method to insert your field values into the MobileFormatter serialization stream.
|
| override void | OnSetState (SerializationInfo info, StateMode mode) |
| | Override this method to retrieve your field values from the MobileFormatter serialization stream.
|
| override void | OnGetMetastate (BinaryWriter writer) |
| | Override this method to write field values directly to a binary stream for metastate serialization.- Parameters
-
| writer | Binary writer for the output stream. |
|
| override void | OnSetMetastate (BinaryReader reader) |
| | Override this method to read field values directly from a binary stream for metastate deserialization.- Parameters
-
| reader | Binary reader for the input stream. |
|
| | BindableBase () |
| | Creates an instance of the type.
|
| virtual bool | ShouldHandlerSerialize (PropertyChangedEventHandler value) |
| | Override this method to change the default logic for determining if the event handler should be serialized.
|
| virtual void | OnPropertyChanged (string propertyName) |
| | Call this method to raise the PropertyChanged event for a specific property.
|
| virtual void | OnMetaPropertyChanged (string propertyName) |
| virtual void | OnIsDirtyChanged () |
| | Call this method to raise the PropertyChanged event for all object properties.
|
| virtual void | OnUnknownPropertyChanged () |
| | Call this method to raise the PropertyChanged event for all object properties.
|
| virtual void | OnIsDirtyChanging () |
| | Call this method to raise the PropertyChanging event for all object properties.
|
| virtual void | OnUnknownPropertyChanging () |
| | Call this method to raise the PropertyChanging event for all object properties.
|
| virtual void | OnPropertyChanging (string propertyName) |
| | Call this method to raise the PropertyChanging event for a specific property.
|
| virtual void | OnPropertyChanging (IPropertyInfo propertyInfo) |
| | Call this method to raise the PropertyChanging event for a specific property.
|
| virtual bool | ShouldHandlerSerialize (PropertyChangingEventHandler value) |
| | Override this method to change the default logic for determining if the event handler should be serialized.
|