/// <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(IAktivitaetsTyp source, params string[] includedColumns) { if (includedColumns.Contains(AktivitaetsTypenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(AktivitaetsTypenTable.AktivitaetsTypeCol)) this.AktivitaetsType = source.AktivitaetsType; if (includedColumns.Contains(AktivitaetsTypenTable.OeffentlichCol)) this.Oeffentlich = source.Oeffentlich; if (includedColumns.Contains(AktivitaetsTypenTable.BeschreibungCol)) this.Beschreibung = source.Beschreibung; if (includedColumns.Contains(AktivitaetsTypenTable.SortOrderCol)) this.SortOrder = source.SortOrder; if (includedColumns.Contains(AktivitaetsTypenTable.DefaultPersonCol)) this.DefaultPerson = source.DefaultPerson; if (includedColumns.Contains(AktivitaetsTypenTable.SymbolFarbeCol)) this.SymbolFarbe = source.SymbolFarbe; if (includedColumns.Contains(AktivitaetsTypenTable.PrintOutTypeCol)) this.PrintOutType = source.PrintOutType; if (includedColumns.Contains(AktivitaetsTypenTable.AmpelTypStringCol)) this.AmpelTypString = source.AmpelTypString; if (includedColumns.Contains(AktivitaetsTypenTable.SkipInWuenscheCol)) this.SkipInWuensche = source.SkipInWuensche; if (includedColumns.Contains(AktivitaetsTypenTable.SkipInPlanungCol)) this.SkipInPlanung = source.SkipInPlanung; if (includedColumns.Contains(AktivitaetsTypenTable.SkipInProjektCol)) this.SkipInProjekt = source.SkipInProjekt; if (includedColumns.Contains(AktivitaetsTypenTable.SkipInRealisierungCol)) this.SkipInRealisierung = source.SkipInRealisierung; if (includedColumns.Contains(AktivitaetsTypenTable.SkipInFertigCol)) this.SkipInFertig = source.SkipInFertig; if (includedColumns.Contains(AktivitaetsTypenTable.IncludeInWuenscheCol)) this.IncludeInWuensche = source.IncludeInWuensche; if (includedColumns.Contains(AktivitaetsTypenTable.IncludeInPlanungCol)) this.IncludeInPlanung = source.IncludeInPlanung; if (includedColumns.Contains(AktivitaetsTypenTable.IncludeInProjektCol)) this.IncludeInProjekt = source.IncludeInProjekt; if (includedColumns.Contains(AktivitaetsTypenTable.IncludeInRealisierungCol)) this.IncludeInRealisierung = source.IncludeInRealisierung; if (includedColumns.Contains(AktivitaetsTypenTable.IncludeInFertigCol)) this.IncludeInFertig = source.IncludeInFertig; if (includedColumns.Contains(AktivitaetsTypenTable.DefaultInternetCol)) this.DefaultInternet = source.DefaultInternet; if (includedColumns.Contains(AktivitaetsTypenTable.DefaultDelegierteCol)) this.DefaultDelegierte = source.DefaultDelegierte; if (includedColumns.Contains(AktivitaetsTypenTable.DefaultProfisPartCol)) this.DefaultProfisPart = source.DefaultProfisPart; if (includedColumns.Contains(AktivitaetsTypenTable.DefaultProfisFullCol)) this.DefaultProfisFull = source.DefaultProfisFull; if (includedColumns.Contains(AktivitaetsTypenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IAktivitaetsTyp source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.AktivitaetsType = source.AktivitaetsType; this.Oeffentlich = source.Oeffentlich; this.Beschreibung = source.Beschreibung; this.SortOrder = source.SortOrder; this.DefaultPerson = source.DefaultPerson; this.SymbolFarbe = source.SymbolFarbe; this.PrintOutType = source.PrintOutType; this.AmpelTypString = source.AmpelTypString; this.SkipInWuensche = source.SkipInWuensche; this.SkipInPlanung = source.SkipInPlanung; this.SkipInProjekt = source.SkipInProjekt; this.SkipInRealisierung = source.SkipInRealisierung; this.SkipInFertig = source.SkipInFertig; this.IncludeInWuensche = source.IncludeInWuensche; this.IncludeInPlanung = source.IncludeInPlanung; this.IncludeInProjekt = source.IncludeInProjekt; this.IncludeInRealisierung = source.IncludeInRealisierung; this.IncludeInFertig = source.IncludeInFertig; this.DefaultInternet = source.DefaultInternet; this.DefaultDelegierte = source.DefaultDelegierte; this.DefaultProfisPart = source.DefaultProfisPart; this.DefaultProfisFull = source.DefaultProfisFull; this.LastUpdateToken = source.LastUpdateToken; }