///	<summary> This method copy's each database field from the <paramref name="source"/> interface to this data row.</summary>
		public void Copy_From(ILastGeneratedBalancerState source, bool includePrimaryKey = false)
		{
			if (includePrimaryKey) this.Id = source.Id;
			this.PageGroupId = source.PageGroupId;
			this.SlotId = source.SlotId;
			this.PercentageToAverageLine = source.PercentageToAverageLine;
		}
		///	<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(ILastGeneratedBalancerState source, params string[] includedColumns)
		{
			if (includedColumns.Contains(LastGeneratedBalancerStatesTable.IdCol)) this.Id = source.Id;
			if (includedColumns.Contains(LastGeneratedBalancerStatesTable.PageGroupIdCol)) this.PageGroupId = source.PageGroupId;
			if (includedColumns.Contains(LastGeneratedBalancerStatesTable.SlotIdCol)) this.SlotId = source.SlotId;
			if (includedColumns.Contains(LastGeneratedBalancerStatesTable.PercentageToAverageLineCol)) this.PercentageToAverageLine = source.PercentageToAverageLine;
		}
		///	<summary> This method copy's each database field into the <paramref name="target"/> interface. </summary>
		public void Copy_To(ILastGeneratedBalancerState target, bool includePrimaryKey = false)
		{
			if (includePrimaryKey) target.Id = this.Id;
			target.PageGroupId = this.PageGroupId;
			target.SlotId = this.SlotId;
			target.PercentageToAverageLine = this.PercentageToAverageLine;
		}