Beispiel #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)
 {
     base.PerformDesetupSyncRelatedEntity(_employee, new PropertyChangedEventHandler(OnEmployeePropertyChanged), "Employee", AssetReclamationServiceChangeLogEntity.Relations.EmployeeEntityUsingEnteredByEmployeeId, true, signalRelatedEntity, "AssetReclamationServiceChangeLog", resetFKFields, new int[] { (int)AssetReclamationServiceChangeLogFieldIndex.EnteredByEmployeeId });
     _employee = null;
 }
Beispiel #2
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)
 {
     base.PerformDesetupSyncRelatedEntity(_employee, new PropertyChangedEventHandler(OnEmployeePropertyChanged), "Employee", LoadEntity.Relations.EmployeeEntityUsingEmployeeId, true, signalRelatedEntity, "Load", resetFKFields, new int[] { (int)LoadFieldIndex.EmployeeId });
     _employee = null;
 }