DataTypeService Events#

    The DataTypeService class implements IDataTypeService. It provides easy access to operations involving IDataType and IDataTypeDefinition.

    Event Signature Description
    Saving (IDataTypeService sender, SaveEventArgs<IDataTypeDefinition> e) Raised when DataTypeService.Save is called in the API.
    "sender" will be the current IDataTypeService object.
    "e" will provide:
    1. SavedEntities: Gets the collection of IDataTypeDefinition objects being saved.
    Saved (IDataTypeService sender, SaveEventArgs<IDataTypeDefinition> e) Raised when DataTypeService.Save is called in the API and after data has been persisted.
    "sender" will be the current IDataTypeService object.
    "e" will provide:
    NOTE: See here on how to determine if the entity is brand new
    1. SavedEntities: Gets the saved collection of IDataTypeDefinition objects.
    Deleting (IDataTypeService sender, DeleteEventArgs<IDataTypeDefinition> e) Raised when DataTypeService.Delete is called in the API.
    "sender" will be the current IDataTypeService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of IDataTypeDefinition objects being deleted.
    Deleted (IDataTypeService sender, DeleteEventArgs<IDataTypeDefinition> e) Raised when DataTypeService.Delete is called in the API.
    "sender" will be the current IDataTypeService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of deleted IDataTypeDefinition objects.