Umbraco CMS
10.latest (LTS)
Ask or search…
K
Links

RelationService Notifications

The RelationService provides access to operations involving IRelation and IRelationType, and published the following relation notifications:
Notification
Members
Description
RelationSavingNotification
  • IEnumerable<IRelation> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation is being saved. SavedEntities: The collection of IRelation objects being saved.
RelationSavedNotification
  • IEnumerable<IRelation> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation has been saved. SavedEntities: The collection of IRelation objects having been saved.
RelationDeletingNotification
  • IEnumerable<IRelation> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation is being deleted. SavedEntities: The collection of IRelation objects being deleted.
RelationDeletedNotification
  • IEnumerable<IRelation> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation has been deleted. SavedEntities: The collection of IRelation objects having been deleted.
RelationTypeSavingNotification
  • IEnumerable<IRelationType> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation type being saved. SavedEntities: The collection of IRelationType objects being saved.
RelationTypeSavedNotification
  • IEnumerable<IRelationType> SavedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation type has been saved. SavedEntities: The collection of IRelationType objects having been saved.
RelationTypeDeletingNotification
  • IEnumerable<IRelationType> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation type is being deleted. SavedEntities: The collection of IRelationType objects being deleted.
RelationTypeDeletedNotification
  • IEnumerable<IRelationType> DeletedEntities
  • EventMessages Messages
  • IDictionary<string,object> State
  • bool Cancel
Published when a relation type has been deleted. SavedEntities: The collection of IRelationType objects having been deleted.