/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IPersonZuArbeitsGruppe source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.Type = source.Type; this.PersonenTypId = source.PersonenTypId; this.PersonenId = source.PersonenId; this.ArbeitsGruppenId = source.ArbeitsGruppenId; this.WordUpId = source.WordUpId; 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(IPersonZuArbeitsGruppe source, params string[] includedColumns) { if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.TypeCol)) this.Type = source.Type; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.PersonenTypIdCol)) this.PersonenTypId = source.PersonenTypId; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.PersonenIdCol)) this.PersonenId = source.PersonenId; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.ArbeitsGruppenIdCol)) this.ArbeitsGruppenId = source.ArbeitsGruppenId; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.WordUpIdCol)) this.WordUpId = source.WordUpId; if (includedColumns.Contains(PersonenZuArbeitsGruppenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IPersonZuArbeitsGruppe target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.Type = this.Type; target.PersonenTypId = this.PersonenTypId; target.PersonenId = this.PersonenId; target.ArbeitsGruppenId = this.ArbeitsGruppenId; target.WordUpId = this.WordUpId; target.LastUpdateToken = this.LastUpdateToken; }