Ejemplo n.º 1
0
		///	<summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary>
		public void Copy_From(IAEAGWellness source, bool includePrimaryKey = false)
		{
			if (includePrimaryKey) this.Id = source.Id;
			this.NameId = source.NameId;
			this.NumberOfPages = source.NumberOfPages;
			this.Titel = source.Titel;
			this.StandVon = source.StandVon;
			this.BelegungA = source.BelegungA;
			this.BelegungB = source.BelegungB;
			this.BelegungC = source.BelegungC;
			this.BelegungDampfTepi = source.BelegungDampfTepi;
			this.BelegungInfra = source.BelegungInfra;
			this.BeschreibungA = source.BeschreibungA;
			this.BeschreibungB = source.BeschreibungB;
			this.BeschreibungC = source.BeschreibungC;
			this.BeschreibungDampfTepi = source.BeschreibungDampfTepi;
			this.BeschreibungInfra = source.BeschreibungInfra;
			this.ErgaenzungA = source.ErgaenzungA;
			this.ErgaenzungB = source.ErgaenzungB;
			this.ErgaenzungC = source.ErgaenzungC;
			this.ErgaenzungDampfTepi = source.ErgaenzungDampfTepi;
			this.ErgaenzungInfra = source.ErgaenzungInfra;
			this.TRFullBookableUnits = source.TRFullBookableUnits;
			this.TRBookings = source.TRBookings;
			this.TRRessource = source.TRRessource;
			this.ModifyTimeStamp = source.ModifyTimeStamp;
			this.ProcessingStatus = source.ProcessingStatus;
		}
Ejemplo n.º 2
0
		///	<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(IAEAGWellness source, params string[] includedColumns)
		{
			if (includedColumns.Contains(AEAGWellnesssTable.IdCol)) this.Id = source.Id;
			if (includedColumns.Contains(AEAGWellnesssTable.NameIdCol)) this.NameId = source.NameId;
			if (includedColumns.Contains(AEAGWellnesssTable.NumberOfPagesCol)) this.NumberOfPages = source.NumberOfPages;
			if (includedColumns.Contains(AEAGWellnesssTable.TitelCol)) this.Titel = source.Titel;
			if (includedColumns.Contains(AEAGWellnesssTable.StandVonCol)) this.StandVon = source.StandVon;
			if (includedColumns.Contains(AEAGWellnesssTable.BelegungACol)) this.BelegungA = source.BelegungA;
			if (includedColumns.Contains(AEAGWellnesssTable.BelegungBCol)) this.BelegungB = source.BelegungB;
			if (includedColumns.Contains(AEAGWellnesssTable.BelegungCCol)) this.BelegungC = source.BelegungC;
			if (includedColumns.Contains(AEAGWellnesssTable.BelegungDampfTepiCol)) this.BelegungDampfTepi = source.BelegungDampfTepi;
			if (includedColumns.Contains(AEAGWellnesssTable.BelegungInfraCol)) this.BelegungInfra = source.BelegungInfra;
			if (includedColumns.Contains(AEAGWellnesssTable.BeschreibungACol)) this.BeschreibungA = source.BeschreibungA;
			if (includedColumns.Contains(AEAGWellnesssTable.BeschreibungBCol)) this.BeschreibungB = source.BeschreibungB;
			if (includedColumns.Contains(AEAGWellnesssTable.BeschreibungCCol)) this.BeschreibungC = source.BeschreibungC;
			if (includedColumns.Contains(AEAGWellnesssTable.BeschreibungDampfTepiCol)) this.BeschreibungDampfTepi = source.BeschreibungDampfTepi;
			if (includedColumns.Contains(AEAGWellnesssTable.BeschreibungInfraCol)) this.BeschreibungInfra = source.BeschreibungInfra;
			if (includedColumns.Contains(AEAGWellnesssTable.ErgaenzungACol)) this.ErgaenzungA = source.ErgaenzungA;
			if (includedColumns.Contains(AEAGWellnesssTable.ErgaenzungBCol)) this.ErgaenzungB = source.ErgaenzungB;
			if (includedColumns.Contains(AEAGWellnesssTable.ErgaenzungCCol)) this.ErgaenzungC = source.ErgaenzungC;
			if (includedColumns.Contains(AEAGWellnesssTable.ErgaenzungDampfTepiCol)) this.ErgaenzungDampfTepi = source.ErgaenzungDampfTepi;
			if (includedColumns.Contains(AEAGWellnesssTable.ErgaenzungInfraCol)) this.ErgaenzungInfra = source.ErgaenzungInfra;
			if (includedColumns.Contains(AEAGWellnesssTable.TRFullBookableUnitsCol)) this.TRFullBookableUnits = source.TRFullBookableUnits;
			if (includedColumns.Contains(AEAGWellnesssTable.TRBookingsCol)) this.TRBookings = source.TRBookings;
			if (includedColumns.Contains(AEAGWellnesssTable.TRRessourceCol)) this.TRRessource = source.TRRessource;
			if (includedColumns.Contains(AEAGWellnesssTable.ModifyTimeStampCol)) this.ModifyTimeStamp = source.ModifyTimeStamp;
			if (includedColumns.Contains(AEAGWellnesssTable.ProcessingStatusCol)) this.ProcessingStatus = source.ProcessingStatus;
		}
Ejemplo n.º 3
0
		///	<summary> This method copy's each database field into the <paramref name="target"/> interface. </summary>
		public void Copy_To(IAEAGWellness target, bool includePrimaryKey = false)
		{
			if (includePrimaryKey) target.Id = this.Id;
			target.NameId = this.NameId;
			target.NumberOfPages = this.NumberOfPages;
			target.Titel = this.Titel;
			target.StandVon = this.StandVon;
			target.BelegungA = this.BelegungA;
			target.BelegungB = this.BelegungB;
			target.BelegungC = this.BelegungC;
			target.BelegungDampfTepi = this.BelegungDampfTepi;
			target.BelegungInfra = this.BelegungInfra;
			target.BeschreibungA = this.BeschreibungA;
			target.BeschreibungB = this.BeschreibungB;
			target.BeschreibungC = this.BeschreibungC;
			target.BeschreibungDampfTepi = this.BeschreibungDampfTepi;
			target.BeschreibungInfra = this.BeschreibungInfra;
			target.ErgaenzungA = this.ErgaenzungA;
			target.ErgaenzungB = this.ErgaenzungB;
			target.ErgaenzungC = this.ErgaenzungC;
			target.ErgaenzungDampfTepi = this.ErgaenzungDampfTepi;
			target.ErgaenzungInfra = this.ErgaenzungInfra;
			target.TRFullBookableUnits = this.TRFullBookableUnits;
			target.TRBookings = this.TRBookings;
			target.TRRessource = this.TRRessource;
			target.ModifyTimeStamp = this.ModifyTimeStamp;
			target.ProcessingStatus = this.ProcessingStatus;
		}