/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IWSPlakat source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.ErfassungsId = source.ErfassungsId; this.Helper = source.Helper; this.LangBeschreibung = source.LangBeschreibung; this.OrtsHinweis = source.OrtsHinweis; this.WertU = source.WertU; this.WertW = source.WertW; this.WertM = source.WertM; this.ProjekteTypId = source.ProjekteTypId; this.OrteId = source.OrteId; this.ProjektId = source.ProjektId; this.OrganisationenId = source.OrganisationenId; this.WordUpRootId = source.WordUpRootId; 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(IWSPlakat source, params string[] includedColumns) { if (includedColumns.Contains(WSPlakateTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(WSPlakateTable.ErfassungsIdCol)) this.ErfassungsId = source.ErfassungsId; if (includedColumns.Contains(WSPlakateTable.HelperCol)) this.Helper = source.Helper; if (includedColumns.Contains(WSPlakateTable.LangBeschreibungCol)) this.LangBeschreibung = source.LangBeschreibung; if (includedColumns.Contains(WSPlakateTable.OrtsHinweisCol)) this.OrtsHinweis = source.OrtsHinweis; if (includedColumns.Contains(WSPlakateTable.WertUCol)) this.WertU = source.WertU; if (includedColumns.Contains(WSPlakateTable.WertWCol)) this.WertW = source.WertW; if (includedColumns.Contains(WSPlakateTable.WertMCol)) this.WertM = source.WertM; if (includedColumns.Contains(WSPlakateTable.ProjekteTypIdCol)) this.ProjekteTypId = source.ProjekteTypId; if (includedColumns.Contains(WSPlakateTable.OrteIdCol)) this.OrteId = source.OrteId; if (includedColumns.Contains(WSPlakateTable.ProjektIdCol)) this.ProjektId = source.ProjektId; if (includedColumns.Contains(WSPlakateTable.OrganisationenIdCol)) this.OrganisationenId = source.OrganisationenId; if (includedColumns.Contains(WSPlakateTable.WordUpRootIdCol)) this.WordUpRootId = source.WordUpRootId; if (includedColumns.Contains(WSPlakateTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IWSPlakat target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.ErfassungsId = this.ErfassungsId; target.Helper = this.Helper; target.LangBeschreibung = this.LangBeschreibung; target.OrtsHinweis = this.OrtsHinweis; target.WertU = this.WertU; target.WertW = this.WertW; target.WertM = this.WertM; target.ProjekteTypId = this.ProjekteTypId; target.OrteId = this.OrteId; target.ProjektId = this.ProjektId; target.OrganisationenId = this.OrganisationenId; target.WordUpRootId = this.WordUpRootId; target.LastUpdateToken = this.LastUpdateToken; }