/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IAuswertung source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.NameId = source.NameId; this.Description = source.Description; this.ToolTip = source.ToolTip; this.StartRoutine = source.StartRoutine; this.OutputDirectory = source.OutputDirectory; this.FileName = source.FileName; this.TechnicalTyp = source.TechnicalTyp; this.ParentId = source.ParentId; this.Status = source.Status; this.ProcessControlDataBaseName = source.ProcessControlDataBaseName; this.ProcessControlType = source.ProcessControlType; this.ProcessControlTableName = source.ProcessControlTableName; this.ProjektId = source.ProjektId; 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(IAuswertung source, params string[] includedColumns) { if (includedColumns.Contains(AuswertungenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(AuswertungenTable.NameIdCol)) this.NameId = source.NameId; if (includedColumns.Contains(AuswertungenTable.DescriptionCol)) this.Description = source.Description; if (includedColumns.Contains(AuswertungenTable.ToolTipCol)) this.ToolTip = source.ToolTip; if (includedColumns.Contains(AuswertungenTable.StartRoutineCol)) this.StartRoutine = source.StartRoutine; if (includedColumns.Contains(AuswertungenTable.OutputDirectoryCol)) this.OutputDirectory = source.OutputDirectory; if (includedColumns.Contains(AuswertungenTable.FileNameCol)) this.FileName = source.FileName; if (includedColumns.Contains(AuswertungenTable.TechnicalTypCol)) this.TechnicalTyp = source.TechnicalTyp; if (includedColumns.Contains(AuswertungenTable.ParentIdCol)) this.ParentId = source.ParentId; if (includedColumns.Contains(AuswertungenTable.StatusCol)) this.Status = source.Status; if (includedColumns.Contains(AuswertungenTable.ProcessControlDataBaseNameCol)) this.ProcessControlDataBaseName = source.ProcessControlDataBaseName; if (includedColumns.Contains(AuswertungenTable.ProcessControlTypeCol)) this.ProcessControlType = source.ProcessControlType; if (includedColumns.Contains(AuswertungenTable.ProcessControlTableNameCol)) this.ProcessControlTableName = source.ProcessControlTableName; if (includedColumns.Contains(AuswertungenTable.ProjektIdCol)) this.ProjektId = source.ProjektId; if (includedColumns.Contains(AuswertungenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IAuswertung target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.NameId = this.NameId; target.Description = this.Description; target.ToolTip = this.ToolTip; target.StartRoutine = this.StartRoutine; target.OutputDirectory = this.OutputDirectory; target.FileName = this.FileName; target.TechnicalTyp = this.TechnicalTyp; target.ParentId = this.ParentId; target.Status = this.Status; target.ProcessControlDataBaseName = this.ProcessControlDataBaseName; target.ProcessControlType = this.ProcessControlType; target.ProcessControlTableName = this.ProcessControlTableName; target.ProjektId = this.ProjektId; target.LastUpdateToken = this.LastUpdateToken; }