public void postChanges(bool ForceUpdate, bool IsCopy = false, bool OverrideUniqueValidation = false, bool SkipEvents = false) { ICswNbtNodePersistStrategy NodePersistStrategy = new CswNbtNodePersistStrategyUpdate(_CswNbtResources); NodePersistStrategy.ForceUpdate = ForceUpdate; NodePersistStrategy.IsCopy = IsCopy; NodePersistStrategy.OverrideUniqueValidation = OverrideUniqueValidation; NodePersistStrategy.SkipEvents = SkipEvents; NodePersistStrategy.postChanges(this); }
/// <summary> /// Post node property changes to the database. /// Does NOT execute base event logic (for performance). /// TODO - Case 31708: fix performance issues on writeNode event logic and remove this function /// </summary> /// <param name="ForceUpdate">If true, an update will happen whether properties have been modified or not</param> public void postOnlyChanges(bool ForceUpdate, bool SkipEvents = false) { ICswNbtNodePersistStrategy NodePersistStrategy = new CswNbtNodePersistStrategyUpdate { OverrideUniqueValidation = true, OverrideMailReportEvents = true, Creating = true, ForceUpdate = ForceUpdate, SkipEvents = SkipEvents }; NodePersistStrategy.postChanges(this); }//postChanges()