/// <summary> Removes the sync logic for member _customers</summary> /// <param name="signalRelatedEntity">If set to true, it will call the related entity's UnsetRelatedEntity method</param> /// <param name="resetFKFields">if set to true it will also reset the FK fields pointing to the related entity</param> private void DesetupSyncCustomers(bool signalRelatedEntity, bool resetFKFields) { this.PerformDesetupSyncRelatedEntity(_customers, new PropertyChangedEventHandler(OnCustomersPropertyChanged), "Customers", SD.LLBLGen.Pro.Examples.Auditing.RelationClasses.StaticCustomerCustomerDemoRelations.CustomerEntityUsingCustomerIdStatic, true, signalRelatedEntity, "CustomerCustomerDemo", resetFKFields, new int[] { (int)CustomerCustomerDemoFieldIndex.CustomerId }); _customers = null; }