/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IStrassenSchreibweise source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.StrassenId = source.StrassenId; this.SchreibWeise = source.SchreibWeise; this.Name = source.Name; this.ModifyTimeStamp = source.ModifyTimeStamp; this.ProcessingStatus = source.ProcessingStatus; this.CreatedBy = source.CreatedBy; this.LastModifiedBy = source.LastModifiedBy; this.AccessRightsId = source.AccessRightsId; 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(IStrassenSchreibweise source, params string[] includedColumns) { if (includedColumns.Contains(StrassenSchreibweisenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(StrassenSchreibweisenTable.StrassenIdCol)) this.StrassenId = source.StrassenId; if (includedColumns.Contains(StrassenSchreibweisenTable.SchreibWeiseCol)) this.SchreibWeise = source.SchreibWeise; if (includedColumns.Contains(StrassenSchreibweisenTable.NameCol)) this.Name = source.Name; if (includedColumns.Contains(StrassenSchreibweisenTable.ModifyTimeStampCol)) this.ModifyTimeStamp = source.ModifyTimeStamp; if (includedColumns.Contains(StrassenSchreibweisenTable.ProcessingStatusCol)) this.ProcessingStatus = source.ProcessingStatus; if (includedColumns.Contains(StrassenSchreibweisenTable.CreatedByCol)) this.CreatedBy = source.CreatedBy; if (includedColumns.Contains(StrassenSchreibweisenTable.LastModifiedByCol)) this.LastModifiedBy = source.LastModifiedBy; if (includedColumns.Contains(StrassenSchreibweisenTable.AccessRightsIdCol)) this.AccessRightsId = source.AccessRightsId; if (includedColumns.Contains(StrassenSchreibweisenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IStrassenSchreibweise target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.StrassenId = this.StrassenId; target.SchreibWeise = this.SchreibWeise; target.Name = this.Name; target.ModifyTimeStamp = this.ModifyTimeStamp; target.ProcessingStatus = this.ProcessingStatus; target.CreatedBy = this.CreatedBy; target.LastModifiedBy = this.LastModifiedBy; target.AccessRightsId = this.AccessRightsId; target.LastUpdateToken = this.LastUpdateToken; }