/// <summary> /// Deep copies the current DojoBulkAttendanceEntry to another instance of DojoBulkAttendanceEntry. /// </summary> /// <param name="DojoBulkAttendanceEntry">The DojoBulkAttendanceEntry to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoBulkAttendanceEntry from its children.</param> public void CopyTo(DojoBulkAttendanceEntry dojoBulkAttendanceEntry, bool isolation) { dojoBulkAttendanceEntry.iD = iD; dojoBulkAttendanceEntry.isPlaceHolder = isPlaceHolder; dojoBulkAttendanceEntry.isSynced = isSynced; dojoBulkAttendanceEntry.startDate = startDate; dojoBulkAttendanceEntry.endDate = endDate; dojoBulkAttendanceEntry.duration = duration; if (member != null) { if (isolation) { dojoBulkAttendanceEntry.member = member.NewPlaceHolder(); } else { dojoBulkAttendanceEntry.member = member.Copy(false); } } if (rank != null) { if (isolation) { dojoBulkAttendanceEntry.rank = rank.NewPlaceHolder(); } else { dojoBulkAttendanceEntry.rank = rank.Copy(false); } } }
/// <summary> /// Deep copies the current DojoAttendanceEntry to another instance of DojoAttendanceEntry. /// </summary> /// <param name="DojoAttendanceEntry">The DojoAttendanceEntry to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoAttendanceEntry from its children.</param> public void CopyTo(DojoAttendanceEntry dojoAttendanceEntry, bool isolation) { dojoAttendanceEntry.iD = iD; dojoAttendanceEntry.isPlaceHolder = isPlaceHolder; dojoAttendanceEntry.isSynced = isSynced; dojoAttendanceEntry.signinTime = signinTime; dojoAttendanceEntry.signoutTime = signoutTime; if (_class != null) { if (isolation) { dojoAttendanceEntry._class = _class.NewPlaceHolder(); } else { dojoAttendanceEntry._class = _class.Copy(false); } } if (member != null) { if (isolation) { dojoAttendanceEntry.member = member.NewPlaceHolder(); } else { dojoAttendanceEntry.member = member.Copy(false); } } if (rank != null) { if (isolation) { dojoAttendanceEntry.rank = rank.NewPlaceHolder(); } else { dojoAttendanceEntry.rank = rank.Copy(false); } } }
/// <summary> /// Deep copies the current DojoRank to another instance of DojoRank. /// </summary> /// <param name="DojoRank">The DojoRank to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoRank from its children.</param> public void CopyTo(DojoRank dojoRank, bool isolation) { dojoRank.iD = iD; dojoRank.isPlaceHolder = isPlaceHolder; dojoRank.isSynced = isSynced; dojoRank.name = name; dojoRank.promotionTimeInRank = promotionTimeInRank; dojoRank.promotionTimeFromLastTest = promotionTimeFromLastTest; dojoRank.promotionRequirements = promotionRequirements; dojoRank.promotionFee = promotionFee; if (promotionRank != null) { if (isolation) { dojoRank.promotionRank = promotionRank.NewPlaceHolder(); } else { dojoRank.promotionRank = promotionRank.Copy(false); } } dojoRank.promotionResetIP = promotionResetIP; dojoRank.orderNum = orderNum; dojoRank.description = description; if (item != null) { if (isolation) { dojoRank.item = item.NewPlaceHolder(); } else { dojoRank.item = item.Copy(false); } } }
/// <summary> /// Deep copies the current DojoMemberTypeTemplate to another instance of DojoMemberTypeTemplate. /// </summary> /// <param name="DojoMemberTypeTemplate">The DojoMemberTypeTemplate to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoMemberTypeTemplate from its children.</param> public void CopyTo(DojoMemberTypeTemplate dojoMemberTypeTemplate, bool isolation) { dojoMemberTypeTemplate.iD = iD; dojoMemberTypeTemplate.isPlaceHolder = isPlaceHolder; dojoMemberTypeTemplate.isSynced = isSynced; dojoMemberTypeTemplate.createDate = createDate; dojoMemberTypeTemplate.modifyDate = modifyDate; dojoMemberTypeTemplate.name = name; dojoMemberTypeTemplate.description = description; dojoMemberTypeTemplate.orderNum = orderNum; if (memberType != null) { if (isolation) { dojoMemberTypeTemplate.memberType = memberType.NewPlaceHolder(); } else { dojoMemberTypeTemplate.memberType = memberType.Copy(false); } } dojoMemberTypeTemplate.memberTypeTreeHash = memberTypeTreeHash; if (parent != null) { if (isolation) { dojoMemberTypeTemplate.parent = parent.NewPlaceHolder(); } else { dojoMemberTypeTemplate.parent = parent.Copy(false); } } if (root != null) { if (isolation) { dojoMemberTypeTemplate.root = root.NewPlaceHolder(); } else { dojoMemberTypeTemplate.root = root.Copy(false); } } if (initialRank != null) { if (isolation) { dojoMemberTypeTemplate.initialRank = initialRank.NewPlaceHolder(); } else { dojoMemberTypeTemplate.initialRank = initialRank.Copy(false); } } if (initialRole != null) { if (isolation) { dojoMemberTypeTemplate.initialRole = initialRole.NewPlaceHolder(); } else { dojoMemberTypeTemplate.initialRole = initialRole.Copy(false); } } dojoMemberTypeTemplate.initialEmailFrom = initialEmailFrom; dojoMemberTypeTemplate.initialEmailBody = initialEmailBody; dojoMemberTypeTemplate.allowGuestPurchase = allowGuestPurchase; dojoMemberTypeTemplate.allowPurchase = allowPurchase; dojoMemberTypeTemplate.allowRenewal = allowRenewal; dojoMemberTypeTemplate.allowAutoRenewal = allowAutoRenewal; dojoMemberTypeTemplate.ageYearsMax = ageYearsMax; dojoMemberTypeTemplate.ageYearsMin = ageYearsMin; dojoMemberTypeTemplate.memberForMin = memberForMin; dojoMemberTypeTemplate.memberForMax = memberForMax; if (rankMin != null) { if (isolation) { dojoMemberTypeTemplate.rankMin = rankMin.NewPlaceHolder(); } else { dojoMemberTypeTemplate.rankMin = rankMin.Copy(false); } } if (rankMax != null) { if (isolation) { dojoMemberTypeTemplate.rankMax = rankMax.NewPlaceHolder(); } else { dojoMemberTypeTemplate.rankMax = rankMax.Copy(false); } } if (membershipTemplate1 != null) { if (isolation) { dojoMemberTypeTemplate.membershipTemplate1 = membershipTemplate1.NewPlaceHolder(); } else { dojoMemberTypeTemplate.membershipTemplate1 = membershipTemplate1.Copy(false); } } if (membershipTemplate2 != null) { if (isolation) { dojoMemberTypeTemplate.membershipTemplate2 = membershipTemplate2.NewPlaceHolder(); } else { dojoMemberTypeTemplate.membershipTemplate2 = membershipTemplate2.Copy(false); } } if (membershipTemplate3 != null) { if (isolation) { dojoMemberTypeTemplate.membershipTemplate3 = membershipTemplate3.NewPlaceHolder(); } else { dojoMemberTypeTemplate.membershipTemplate3 = membershipTemplate3.Copy(false); } } if (membershipTemplate4 != null) { if (isolation) { dojoMemberTypeTemplate.membershipTemplate4 = membershipTemplate4.NewPlaceHolder(); } else { dojoMemberTypeTemplate.membershipTemplate4 = membershipTemplate4.Copy(false); } } if (membershipTemplate5 != null) { if (isolation) { dojoMemberTypeTemplate.membershipTemplate5 = membershipTemplate5.NewPlaceHolder(); } else { dojoMemberTypeTemplate.membershipTemplate5 = membershipTemplate5.Copy(false); } } }
/// <summary> /// Deep copies the current DojoPromotion to another instance of DojoPromotion. /// </summary> /// <param name="DojoPromotion">The DojoPromotion to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoPromotion from its children.</param> public void CopyTo(DojoPromotion dojoPromotion, bool isolation) { dojoPromotion.iD = iD; dojoPromotion.isPlaceHolder = isPlaceHolder; dojoPromotion.isSynced = isSynced; if (member != null) { if (isolation) { dojoPromotion.member = member.NewPlaceHolder(); } else { dojoPromotion.member = member.Copy(false); } } if (test != null) { if (isolation) { dojoPromotion.test = test.NewPlaceHolder(); } else { dojoPromotion.test = test.Copy(false); } } dojoPromotion.promotionDate = promotionDate; if (promotionRank != null) { if (isolation) { dojoPromotion.promotionRank = promotionRank.NewPlaceHolder(); } else { dojoPromotion.promotionRank = promotionRank.Copy(false); } } if (lastRank != null) { if (isolation) { dojoPromotion.lastRank = lastRank.NewPlaceHolder(); } else { dojoPromotion.lastRank = lastRank.Copy(false); } } if (status != null) { if (isolation) { dojoPromotion.status = status.NewPlaceHolder(); } else { dojoPromotion.status = status.Copy(false); } } }
/// <summary> /// Deep copies the current DojoMembershipTemplate to another instance of DojoMembershipTemplate. /// </summary> /// <param name="DojoMembershipTemplate">The DojoMembershipTemplate to copy to.</param> /// <param name="isolation">Placeholders are used to isolate the DojoMembershipTemplate from its children.</param> public void CopyTo(DojoMembershipTemplate dojoMembershipTemplate, bool isolation) { dojoMembershipTemplate.iD = iD; dojoMembershipTemplate.isPlaceHolder = isPlaceHolder; dojoMembershipTemplate.isSynced = isSynced; dojoMembershipTemplate.createDate = createDate; dojoMembershipTemplate.modifyDate = modifyDate; dojoMembershipTemplate.name = name; dojoMembershipTemplate.description = description; dojoMembershipTemplate.orderNum = orderNum; if (organization != null) { if (isolation) { dojoMembershipTemplate.organization = organization.NewPlaceHolder(); } else { dojoMembershipTemplate.organization = organization.Copy(false); } } dojoMembershipTemplate.isPrimary = isPrimary; if (rootTemplate != null) { if (isolation) { dojoMembershipTemplate.rootTemplate = rootTemplate.NewPlaceHolder(); } else { dojoMembershipTemplate.rootTemplate = rootTemplate.Copy(false); } } dojoMembershipTemplate.fee = fee; dojoMembershipTemplate.startupFee = startupFee; dojoMembershipTemplate.proRateMonthA = proRateMonthA; dojoMembershipTemplate.proRateDayA = proRateDayA; dojoMembershipTemplate.proRateFeeA = proRateFeeA; dojoMembershipTemplate.proRateEndA = proRateEndA; dojoMembershipTemplate.proRateMonthB = proRateMonthB; dojoMembershipTemplate.proRateDayB = proRateDayB; dojoMembershipTemplate.proRateFeeB = proRateFeeB; dojoMembershipTemplate.proRateEndB = proRateEndB; dojoMembershipTemplate.proRateMonthC = proRateMonthC; dojoMembershipTemplate.proRateDayC = proRateDayC; dojoMembershipTemplate.proRateFeeC = proRateFeeC; dojoMembershipTemplate.proRateEndC = proRateEndC; dojoMembershipTemplate.prePurchaseTime = prePurchaseTime; dojoMembershipTemplate.ageYearsMax = ageYearsMax; dojoMembershipTemplate.ageYearsMin = ageYearsMin; dojoMembershipTemplate.memberForMin = memberForMin; dojoMembershipTemplate.memberForMax = memberForMax; if (rankMin != null) { if (isolation) { dojoMembershipTemplate.rankMin = rankMin.NewPlaceHolder(); } else { dojoMembershipTemplate.rankMin = rankMin.Copy(false); } } if (rankMax != null) { if (isolation) { dojoMembershipTemplate.rankMax = rankMax.NewPlaceHolder(); } else { dojoMembershipTemplate.rankMax = rankMax.Copy(false); } } dojoMembershipTemplate.purchaseRequired = purchaseRequired; dojoMembershipTemplate.testRequired = testRequired; dojoMembershipTemplate.attendanceRequired = attendanceRequired; dojoMembershipTemplate.membershipStart = membershipStart; dojoMembershipTemplate.membershipEnd = membershipEnd; if (item != null) { if (isolation) { dojoMembershipTemplate.item = item.NewPlaceHolder(); } else { dojoMembershipTemplate.item = item.Copy(false); } } if (itemClass != null) { if (isolation) { dojoMembershipTemplate.itemClass = itemClass.NewPlaceHolder(); } else { dojoMembershipTemplate.itemClass = itemClass.Copy(false); } } }