/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(IOrganisationsSubTyp source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.OrganisationsSubTypColumn = source.OrganisationsSubTypColumn; this.OrganisationsTypId = source.OrganisationsTypId; this.SubTypBeschreibung = source.SubTypBeschreibung; 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(IOrganisationsSubTyp source, params string[] includedColumns) { if (includedColumns.Contains(OrganisationsSubTypenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(OrganisationsSubTypenTable.OrganisationsSubTypColumnCol)) this.OrganisationsSubTypColumn = source.OrganisationsSubTypColumn; if (includedColumns.Contains(OrganisationsSubTypenTable.OrganisationsTypIdCol)) this.OrganisationsTypId = source.OrganisationsTypId; if (includedColumns.Contains(OrganisationsSubTypenTable.SubTypBeschreibungCol)) this.SubTypBeschreibung = source.SubTypBeschreibung; if (includedColumns.Contains(OrganisationsSubTypenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(IOrganisationsSubTyp target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.OrganisationsSubTypColumn = this.OrganisationsSubTypColumn; target.OrganisationsTypId = this.OrganisationsTypId; target.SubTypBeschreibung = this.SubTypBeschreibung; target.LastUpdateToken = this.LastUpdateToken; }