/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IAktivitaet source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.Type = source.Type; this.Bis = source.Bis; this.Wer = source.Wer; this.AkteurId = source.AkteurId; this.Details = source.Details; this.CreationDateTime = source.CreationDateTime; this.Internet = source.Internet; this.Delegierte = source.Delegierte; this.ProfisPart = source.ProfisPart; this.ProfisFull = source.ProfisFull; this.ProjektId = source.ProjektId; this.WordUpRootId = source.WordUpRootId; this.AktivitaetsTypenId = source.AktivitaetsTypenId; this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> /// This method copy's each database field which is in the <paramref name="includedColumns"/> /// from the <paramref name="source"/> interface to this data row. /// </summary> public void Copy_From_But_TakeOnly(IAktivitaet source, params string[] includedColumns) { if (includedColumns.Contains(AktivitaetenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(AktivitaetenTable.TypeCol)) this.Type = source.Type; if (includedColumns.Contains(AktivitaetenTable.BisCol)) this.Bis = source.Bis; if (includedColumns.Contains(AktivitaetenTable.WerCol)) this.Wer = source.Wer; if (includedColumns.Contains(AktivitaetenTable.AkteurIdCol)) this.AkteurId = source.AkteurId; if (includedColumns.Contains(AktivitaetenTable.DetailsCol)) this.Details = source.Details; if (includedColumns.Contains(AktivitaetenTable.CreationDateTimeCol)) this.CreationDateTime = source.CreationDateTime; if (includedColumns.Contains(AktivitaetenTable.InternetCol)) this.Internet = source.Internet; if (includedColumns.Contains(AktivitaetenTable.DelegierteCol)) this.Delegierte = source.Delegierte; if (includedColumns.Contains(AktivitaetenTable.ProfisPartCol)) this.ProfisPart = source.ProfisPart; if (includedColumns.Contains(AktivitaetenTable.ProfisFullCol)) this.ProfisFull = source.ProfisFull; if (includedColumns.Contains(AktivitaetenTable.ProjektIdCol)) this.ProjektId = source.ProjektId; if (includedColumns.Contains(AktivitaetenTable.WordUpRootIdCol)) this.WordUpRootId = source.WordUpRootId; if (includedColumns.Contains(AktivitaetenTable.AktivitaetsTypenIdCol)) this.AktivitaetsTypenId = source.AktivitaetsTypenId; if (includedColumns.Contains(AktivitaetenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IAktivitaet target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.Type = this.Type; target.Bis = this.Bis; target.Wer = this.Wer; target.AkteurId = this.AkteurId; target.Details = this.Details; target.CreationDateTime = this.CreationDateTime; target.Internet = this.Internet; target.Delegierte = this.Delegierte; target.ProfisPart = this.ProfisPart; target.ProfisFull = this.ProfisFull; target.ProjektId = this.ProjektId; target.WordUpRootId = this.WordUpRootId; target.AktivitaetsTypenId = this.AktivitaetsTypenId; target.LastUpdateToken = this.LastUpdateToken; }