nHydrate.Dsl.EntityHasViews.OnDeleting C# (CSharp) Méthode

OnDeleting() protected méthode

protected OnDeleting ( ) : void
Résultat void
		protected override void OnDeleting()
		{
			//Remove from relation mapped collections
			var count1 = this.ParentEntity.nHydrateModel.RelationFields.Remove(x => x.RelationID == this.Id);
			var count2 = this.ParentEntity.nHydrateModel.RelationModules.Remove(x => x.RelationID == this.Id);

			base.OnDeleting();
		}