/// <summary>
 /// Populates the fields of a single objects from the columns found in an open reader.
 /// </summary>
 /// <param name="obj" type="INVTakingInventoryLineBatch">Object of INVTakingInventoryLineBatch to populate</param>
 /// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param>
 ///
 /// <remarks>
 ///
 /// <RevisionHistory>
 /// Author				Date			Description
 /// DLGenerator			3/7/2015 2:37:29 PM		Created function
 ///
 /// </RevisionHistory>
 ///
 /// </remarks>
 ///
 internal static void PopulateObjectFromReader(INVTakingInventoryLineBatchBase obj, IDataReader rdr)
 {
     obj.TakingLineBatchID = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.TakingLineBatchID));
     obj.TakingLineID      = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.TakingLineID));
     if (!rdr.IsDBNull(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.BatchID)))
     {
         obj.BatchID = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.BatchID));
     }
 }
		/// <summary>
		/// Populates the fields of a single objects from the columns found in an open reader.
		/// </summary>
		/// <param name="obj" type="INVTakingInventoryLineBatch">Object of INVTakingInventoryLineBatch to populate</param>
		/// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param>
		///
		/// <remarks>
		///
		/// <RevisionHistory>
		/// Author				Date			Description
		/// DLGenerator			3/7/2015 2:37:29 PM		Created function
		/// 
		/// </RevisionHistory>
		///
		/// </remarks>
		///
		internal static void PopulateObjectFromReader(INVTakingInventoryLineBatchBase obj,IDataReader rdr) 
		{

			obj.TakingLineBatchID = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.TakingLineBatchID));
			obj.TakingLineID = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.TakingLineID));
			if (!rdr.IsDBNull(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.BatchID)))
			{
				obj.BatchID = rdr.GetInt32(rdr.GetOrdinal(INVTakingInventoryLineBatchFields.BatchID));
			}
			

		}