/// <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(ITyp source, params string[] includedColumns) { if (includedColumns.Contains(TypenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(TypenTable.TypNameIdCol)) this.TypNameId = source.TypNameId; if (includedColumns.Contains(TypenTable.UsageTableCol)) this.UsageTable = source.UsageTable; if (includedColumns.Contains(TypenTable.GruppeCol)) this.Gruppe = source.Gruppe; if (includedColumns.Contains(TypenTable.BeschreibungCol)) this.Beschreibung = source.Beschreibung; if (includedColumns.Contains(TypenTable.DocuElementNameCol)) this.DocuElementName = source.DocuElementName; if (includedColumns.Contains(TypenTable.HyperlinkCol)) this.Hyperlink = source.Hyperlink; if (includedColumns.Contains(TypenTable.PresentationStyleCol)) this.PresentationStyle = source.PresentationStyle; if (includedColumns.Contains(TypenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(ITyp source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.TypNameId = source.TypNameId; this.UsageTable = source.UsageTable; this.Gruppe = source.Gruppe; this.Beschreibung = source.Beschreibung; this.DocuElementName = source.DocuElementName; this.Hyperlink = source.Hyperlink; this.PresentationStyle = source.PresentationStyle; this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(ITyp target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.TypNameId = this.TypNameId; target.UsageTable = this.UsageTable; target.Gruppe = this.Gruppe; target.Beschreibung = this.Beschreibung; target.DocuElementName = this.DocuElementName; target.Hyperlink = this.Hyperlink; target.PresentationStyle = this.PresentationStyle; target.LastUpdateToken = this.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(ITyp source, params string[] includedColumns) { if (includedColumns.Contains(TypenTable.IdCol)) this.Id = source.Id; if (includedColumns.Contains(TypenTable.NameIdCol)) this.NameId = source.NameId; if (includedColumns.Contains(TypenTable.TypBeschreibungCol)) this.TypBeschreibung = source.TypBeschreibung; if (includedColumns.Contains(TypenTable.TypFarbeCol)) this.TypFarbe = source.TypFarbe; if (includedColumns.Contains(TypenTable.MultiChapterCreateMultiEntriesCol)) this.MultiChapterCreateMultiEntries = source.MultiChapterCreateMultiEntries; if (includedColumns.Contains(TypenTable.RootFormatCol)) this.RootFormat = source.RootFormat; if (includedColumns.Contains(TypenTable.AutoCreationTypIdCol)) this.AutoCreationTypId = source.AutoCreationTypId; if (includedColumns.Contains(TypenTable.StandBildMappingVersionCol)) this.StandBildMappingVersion = source.StandBildMappingVersion; if (includedColumns.Contains(TypenTable.LastUpdateTokenCol)) this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary> public void Copy_From(ITyp source, bool includePrimaryKey = false) { if (includePrimaryKey) this.Id = source.Id; this.NameId = source.NameId; this.TypBeschreibung = source.TypBeschreibung; this.TypFarbe = source.TypFarbe; this.MultiChapterCreateMultiEntries = source.MultiChapterCreateMultiEntries; this.RootFormat = source.RootFormat; this.AutoCreationTypId = source.AutoCreationTypId; this.StandBildMappingVersion = source.StandBildMappingVersion; this.LastUpdateToken = source.LastUpdateToken; }
/// <summary> This method copy's each database field into the <paramref name="target"/> interface. </summary> public void Copy_To(ITyp target, bool includePrimaryKey = false) { if (includePrimaryKey) target.Id = this.Id; target.NameId = this.NameId; target.TypBeschreibung = this.TypBeschreibung; target.TypFarbe = this.TypFarbe; target.MultiChapterCreateMultiEntries = this.MultiChapterCreateMultiEntries; target.RootFormat = this.RootFormat; target.AutoCreationTypId = this.AutoCreationTypId; target.StandBildMappingVersion = this.StandBildMappingVersion; target.LastUpdateToken = this.LastUpdateToken; }