/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IMMProgrammBlockToSlotTiming source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.MMProgrammBlockToSlotId = source.MMProgrammBlockToSlotId; this.TypId = source.TypId; this.TimeA = source.TimeA; this.TimeB = source.TimeB; this.Bemerkung = source.Bemerkung; 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(IMMProgrammBlockToSlotTiming source, params string[] includedColumns) { if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.MMProgrammBlockToSlotIdCol)) this.MMProgrammBlockToSlotId = source.MMProgrammBlockToSlotId; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.TypIdCol)) this.TypId = source.TypId; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.TimeACol)) this.TimeA = source.TimeA; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.TimeBCol)) this.TimeB = source.TimeB; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.BemerkungCol)) this.Bemerkung = source.Bemerkung; if (includedColumns.Contains(MMProgrammBlockToSlotTimingsTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IMMProgrammBlockToSlotTiming target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.MMProgrammBlockToSlotId = this.MMProgrammBlockToSlotId; target.TypId = this.TypId; target.TimeA = this.TimeA; target.TimeB = this.TimeB; target.Bemerkung = this.Bemerkung; target.LastUpdateToken = this.LastUpdateToken; }