/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IBeitragBeschreibung source, bool includePrimaryKey = false) { if (includePrimaryKey) this.BeitragId = source.BeitragId; this.TableName = source.TableName; this.NameId = source.NameId; this.Beschreibung = source.Beschreibung; this.Type = source.Type; this.InvolvedNumberOfElements = source.InvolvedNumberOfElements; this.FileFoundInDirectory = source.FileFoundInDirectory; this.LastCheckTimeStamp = source.LastCheckTimeStamp; this.LastUpdateTimeStamp = source.LastUpdateTimeStamp; 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(IBeitragBeschreibung source, params string[] includedColumns) { if (includedColumns.Contains(BeitragBeschreibungenTable.BeitragIdCol)) this.BeitragId = source.BeitragId; if (includedColumns.Contains(BeitragBeschreibungenTable.TableNameCol)) this.TableName = source.TableName; if (includedColumns.Contains(BeitragBeschreibungenTable.NameIdCol)) this.NameId = source.NameId; if (includedColumns.Contains(BeitragBeschreibungenTable.BeschreibungCol)) this.Beschreibung = source.Beschreibung; if (includedColumns.Contains(BeitragBeschreibungenTable.TypeCol)) this.Type = source.Type; if (includedColumns.Contains(BeitragBeschreibungenTable.InvolvedNumberOfElementsCol)) this.InvolvedNumberOfElements = source.InvolvedNumberOfElements; if (includedColumns.Contains(BeitragBeschreibungenTable.FileFoundInDirectoryCol)) this.FileFoundInDirectory = source.FileFoundInDirectory; if (includedColumns.Contains(BeitragBeschreibungenTable.LastCheckTimeStampCol)) this.LastCheckTimeStamp = source.LastCheckTimeStamp; if (includedColumns.Contains(BeitragBeschreibungenTable.LastUpdateTimeStampCol)) this.LastUpdateTimeStamp = source.LastUpdateTimeStamp; if (includedColumns.Contains(BeitragBeschreibungenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IBeitragBeschreibung target, bool includePrimaryKey = false) { if (includePrimaryKey) target.BeitragId = this.BeitragId; target.TableName = this.TableName; target.NameId = this.NameId; target.Beschreibung = this.Beschreibung; target.Type = this.Type; target.InvolvedNumberOfElements = this.InvolvedNumberOfElements; target.FileFoundInDirectory = this.FileFoundInDirectory; target.LastCheckTimeStamp = this.LastCheckTimeStamp; target.LastUpdateTimeStamp = this.LastUpdateTimeStamp; target.LastUpdateToken = this.LastUpdateToken; }