Ejemplo n.º 1
0
 /// <summary> Removes the sync logic for member _employee</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 DesetupSyncEmployee(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity(_employee, new PropertyChangedEventHandler(OnEmployeePropertyChanged), "Employee", SD.LLBLGen.Pro.Examples.WCF.RelationClasses.StaticOrderRelations.EmployeeEntityUsingEmployeeIdStatic, true, signalRelatedEntity, "Orders", resetFKFields, new int[] { (int)OrderFieldIndex.EmployeeId });
     _employee = null;
 }
Ejemplo n.º 2
0
 /// <summary> Removes the sync logic for member _manager</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 DesetupSyncManager(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity(_manager, new PropertyChangedEventHandler(OnManagerPropertyChanged), "Manager", SD.LLBLGen.Pro.Examples.WCF.RelationClasses.StaticEmployeeRelations.EmployeeEntityUsingEmployeeIdReportsToStatic, true, signalRelatedEntity, "ManagedEmployees", resetFKFields, new int[] { (int)EmployeeFieldIndex.ReportsTo });
     _manager = null;
 }