/// <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(IStandBildMapping source, params string[] includedColumns) { if (includedColumns.Contains(StandBildMappingsTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(StandBildMappingsTable.NameIdCol)) this.NameId = source.NameId; if (includedColumns.Contains(StandBildMappingsTable.RootFormatCol)) this.RootFormat = source.RootFormat; if (includedColumns.Contains(StandBildMappingsTable.SpecialTypIdCol)) this.SpecialTypId = source.SpecialTypId; if (includedColumns.Contains(StandBildMappingsTable.SourceTypCol)) this.SourceTyp = source.SourceTyp; if (includedColumns.Contains(StandBildMappingsTable.DataElementeTemplatesIdCol)) this.DataElementeTemplatesId = source.DataElementeTemplatesId; if (includedColumns.Contains(StandBildMappingsTable.SourceTableCol)) this.SourceTable = source.SourceTable; if (includedColumns.Contains(StandBildMappingsTable.SourceActuallBezeichnerCol)) this.SourceActuallBezeichner = source.SourceActuallBezeichner; if (includedColumns.Contains(StandBildMappingsTable.SourceDataDependencyIdCol)) this.SourceDataDependencyId = source.SourceDataDependencyId; if (includedColumns.Contains(StandBildMappingsTable.SourceItemCol)) this.SourceItem = source.SourceItem; if (includedColumns.Contains(StandBildMappingsTable.SourceFreitextCol)) this.SourceFreitext = source.SourceFreitext; if (includedColumns.Contains(StandBildMappingsTable.SourceContentCol)) this.SourceContent = source.SourceContent; if (includedColumns.Contains(StandBildMappingsTable.TargetRedaktionCol)) this.TargetRedaktion = source.TargetRedaktion; if (includedColumns.Contains(StandBildMappingsTable.TargetItemCol)) this.TargetItem = source.TargetItem; if (includedColumns.Contains(StandBildMappingsTable.TargetItemTextPostProcessingsCol)) this.TargetItemTextPostProcessings = source.TargetItemTextPostProcessings; if (includedColumns.Contains(StandBildMappingsTable.TargetItemSplittingTypCol)) this.TargetItemSplittingTyp = source.TargetItemSplittingTyp; if (includedColumns.Contains(StandBildMappingsTable.TargetItemSplittingParameter1Col)) this.TargetItemSplittingParameter1 = source.TargetItemSplittingParameter1; if (includedColumns.Contains(StandBildMappingsTable.TargetItemSplittingParameter2Col)) this.TargetItemSplittingParameter2 = source.TargetItemSplittingParameter2; if (includedColumns.Contains(StandBildMappingsTable.ProcessingOrderCol)) this.ProcessingOrder = source.ProcessingOrder; if (includedColumns.Contains(StandBildMappingsTable.SpecialTableNameCol)) this.SpecialTableName = source.SpecialTableName; if (includedColumns.Contains(StandBildMappingsTable.SpecialTableItemCol)) this.SpecialTableItem = source.SpecialTableItem; if (includedColumns.Contains(StandBildMappingsTable.SpecialDataElementIdCol)) this.SpecialDataElementId = source.SpecialDataElementId; if (includedColumns.Contains(StandBildMappingsTable.SpecialTableItemContentCol)) this.SpecialTableItemContent = source.SpecialTableItemContent; if (includedColumns.Contains(StandBildMappingsTable.SpecialHandlingDllCol)) this.SpecialHandlingDll = source.SpecialHandlingDll; if (includedColumns.Contains(StandBildMappingsTable.MaxTargetLengthCol)) this.MaxTargetLength = source.MaxTargetLength; if (includedColumns.Contains(StandBildMappingsTable.ProcessMultipleEntriesCol)) this.ProcessMultipleEntries = source.ProcessMultipleEntries; if (includedColumns.Contains(StandBildMappingsTable.AddContentAllowedCol)) this.AddContentAllowed = source.AddContentAllowed; if (includedColumns.Contains(StandBildMappingsTable.ProcessDuringAllRunsCol)) this.ProcessDuringAllRuns = source.ProcessDuringAllRuns; if (includedColumns.Contains(StandBildMappingsTable.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(IStandBildMapping source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.NameId = source.NameId; this.RootFormat = source.RootFormat; this.SpecialTypId = source.SpecialTypId; this.SourceTyp = source.SourceTyp; this.DataElementeTemplatesId = source.DataElementeTemplatesId; this.SourceTable = source.SourceTable; this.SourceActuallBezeichner = source.SourceActuallBezeichner; this.SourceDataDependencyId = source.SourceDataDependencyId; this.SourceItem = source.SourceItem; this.SourceFreitext = source.SourceFreitext; this.SourceContent = source.SourceContent; this.TargetRedaktion = source.TargetRedaktion; this.TargetItem = source.TargetItem; this.TargetItemTextPostProcessings = source.TargetItemTextPostProcessings; this.TargetItemSplittingTyp = source.TargetItemSplittingTyp; this.TargetItemSplittingParameter1 = source.TargetItemSplittingParameter1; this.TargetItemSplittingParameter2 = source.TargetItemSplittingParameter2; this.ProcessingOrder = source.ProcessingOrder; this.SpecialTableName = source.SpecialTableName; this.SpecialTableItem = source.SpecialTableItem; this.SpecialDataElementId = source.SpecialDataElementId; this.SpecialTableItemContent = source.SpecialTableItemContent; this.SpecialHandlingDll = source.SpecialHandlingDll; this.MaxTargetLength = source.MaxTargetLength; this.ProcessMultipleEntries = source.ProcessMultipleEntries; this.AddContentAllowed = source.AddContentAllowed; this.ProcessDuringAllRuns = source.ProcessDuringAllRuns; this.LastUpdateToken = source.LastUpdateToken; }