Skip to content

Latest commit

 

History

History
61 lines (58 loc) · 2.21 KB

DataTypeService-Events.md

File metadata and controls

61 lines (58 loc) · 2.21 KB

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.