Example #1
0
 public static void AppsDelete(this ContactMechanism @this, DeletableDelete method)
 {
     foreach (PartyContactMechanism partyContactMechanism in @this.PartyContactMechanismsWhereContactMechanism)
     {
         partyContactMechanism.Delete();
     }
 }
Example #2
0
 public void CustomDelete(DeletableDelete method)
 {
     foreach (Employment employment in this.EmploymentsWhereEmployee)
     {
         employment.Delete();
     }
 }
Example #3
0
 public void AppsDelete(DeletableDelete method)
 {
     if (this.ExistItemIssuancesWhereShipmentItem)
     {
         foreach (ItemIssuance itemIssuance in this.ItemIssuancesWhereShipmentItem)
         {
             itemIssuance.Delete();
         }
     }
 }
Example #4
0
 public void AppsDelete(DeletableDelete method)
 {
     if (this.ExistItemIssuancesWhereShipmentItem)
     {
         foreach (ItemIssuance itemIssuance in this.ItemIssuancesWhereShipmentItem)
         {
             itemIssuance.Delete();
         }
     }
 }
Example #5
0
File: Task.cs Project: Allors/apps
        public void AppsDelete(DeletableDelete method)
        {
            foreach (WorkEffortStatus workEffortStatus in this.WorkEffortStatuses)
            {
                workEffortStatus.Delete();
            }

            foreach (WorkEffortAssignment workEffortAssignment in this.WorkEffortAssignmentsWhereAssignment)
            {
                workEffortAssignment.Delete();
            }
        }
Example #6
0
        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();
Example #8
0
 public void BaseDelete(DeletableDelete method)
 {
     this.Media?.Delete();
 }
Example #9
0
 public void CoreDelete(DeletableDelete method) => this.Notification?.Delete();
Example #10
0
 public void CoreDelete(DeletableDelete method) => this.Media?.Delete();