/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IGoogleEntryToPostProcess source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.IdToPostProcess = source.IdToPostProcess; this.KalenderNameId = source.KalenderNameId; this.RequiredPostProcessing = source.RequiredPostProcessing; 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(IGoogleEntryToPostProcess source, params string[] includedColumns) { if (includedColumns.Contains(GoogleEntriesToPostProcessTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(GoogleEntriesToPostProcessTable.IdToPostProcessCol)) this.IdToPostProcess = source.IdToPostProcess; if (includedColumns.Contains(GoogleEntriesToPostProcessTable.KalenderNameIdCol)) this.KalenderNameId = source.KalenderNameId; if (includedColumns.Contains(GoogleEntriesToPostProcessTable.RequiredPostProcessingCol)) this.RequiredPostProcessing = source.RequiredPostProcessing; if (includedColumns.Contains(GoogleEntriesToPostProcessTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IGoogleEntryToPostProcess target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.IdToPostProcess = this.IdToPostProcess; target.KalenderNameId = this.KalenderNameId; target.RequiredPostProcessing = this.RequiredPostProcessing; target.LastUpdateToken = this.LastUpdateToken; }