/// <summary>
		/// This method will return an object representing the record matching the primary key information specified.
		/// </summary>
		///
		/// <param name="pk" type="INVTakingInventoryLineBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
		///
		/// <returns>object of class INVTakingInventoryLineBatch</returns>
		public INVTakingInventoryLineBatch SelectOne(INVTakingInventoryLineBatchPrimaryKey pk)
		{
			_iNVTakingInventoryLineBatchWCF = new INVTakingInventoryLineBatch();
			_iNVTakingInventoryLineBatch = POS.DataLayer.INVTakingInventoryLineBatchBase.SelectOne(new POS.DataLayer.INVTakingInventoryLineBatchPrimaryKey(pk.TakingLineBatchID));
			
				_iNVTakingInventoryLineBatchWCF.TakingLineBatchID = _iNVTakingInventoryLineBatch.TakingLineBatchID;
				_iNVTakingInventoryLineBatchWCF.TakingLineID = _iNVTakingInventoryLineBatch.TakingLineID;
				_iNVTakingInventoryLineBatchWCF.BatchID = _iNVTakingInventoryLineBatch.BatchID;
				
			return _iNVTakingInventoryLineBatchWCF;
		}
		///<summary>
		///This method will Delete the object from the database
		///</summary>
		///<param name="pk" type="INVTakingInventoryLineBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
		/// <returns>True if succeeded</returns>
		public bool Delete(INVTakingInventoryLineBatchPrimaryKey pk)
		{
			return POS.DataLayer.INVTakingInventoryLineBatchBase.Delete(new POS.DataLayer.INVTakingInventoryLineBatchPrimaryKey(pk.TakingLineBatchID));
		}