public static void AppsDelete(this ContactMechanism @this, DeletableDelete method) { foreach (PartyContactMechanism partyContactMechanism in @this.PartyContactMechanismsWhereContactMechanism) { partyContactMechanism.Delete(); } }
public void CustomDelete(DeletableDelete method) { foreach (Employment employment in this.EmploymentsWhereEmployee) { employment.Delete(); } }
public void AppsDelete(DeletableDelete method) { if (this.ExistItemIssuancesWhereShipmentItem) { foreach (ItemIssuance itemIssuance in this.ItemIssuancesWhereShipmentItem) { itemIssuance.Delete(); } } }
public void AppsDelete(DeletableDelete method) { foreach (WorkEffortStatus workEffortStatus in this.WorkEffortStatuses) { workEffortStatus.Delete(); } foreach (WorkEffortAssignment workEffortAssignment in this.WorkEffortAssignmentsWhereAssignment) { workEffortAssignment.Delete(); } }
public static void BaseDelete(this User @this, DeletableDelete method) { if (@this.ExistTaskList) { @this.TaskList.Delete(); } if (@this.ExistNotificationList) { @this.NotificationList.Delete(); } }
public static void BaseDelete(this User @this, DeletableDelete method) => @this.UserProfile?.Delete();
public void BaseDelete(DeletableDelete method) { this.Media?.Delete(); }
public void CoreDelete(DeletableDelete method) => this.Notification?.Delete();
public void CoreDelete(DeletableDelete method) => this.Media?.Delete();