示例#1
0
 /// <summary> Removes the sync logic for member _division</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 DesetupSyncDivision(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity(_division, new PropertyChangedEventHandler(OnDivisionPropertyChanged), "Division", LLBLGenPro.OrmCookbook.RelationClasses.StaticDepartmentRelations.DivisionEntityUsingDivisionKeyStatic, true, signalRelatedEntity, "Departments", resetFKFields, new int[] { (int)DepartmentFieldIndex.DivisionKey });
     _division = null;
 }