/// <summary>
        /// This method will return an object representing the record matching the primary key information specified.
        /// </summary>
        ///
        /// <param name="pk" type="INVTransferLineBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
        ///
        /// <returns>object of class INVTransferLineBatch</returns>
        public INVTransferLineBatch SelectOne(INVTransferLineBatchPrimaryKey pk)
        {
            _iNVTransferLineBatchWCF = new INVTransferLineBatch();
            _iNVTransferLineBatch    = POS.DataLayer.INVTransferLineBatchBase.SelectOne(new POS.DataLayer.INVTransferLineBatchPrimaryKey(pk.TransferLineBatchID));

            _iNVTransferLineBatchWCF.TransferLineBatchID = _iNVTransferLineBatch.TransferLineBatchID;
            _iNVTransferLineBatchWCF.TransferLineID      = _iNVTransferLineBatch.TransferLineID;
            _iNVTransferLineBatchWCF.BatchID             = _iNVTransferLineBatch.BatchID;
            _iNVTransferLineBatchWCF.Qty = _iNVTransferLineBatch.Qty;

            return(_iNVTransferLineBatchWCF);
        }
 ///<summary>
 ///This method will Delete the object from the database
 ///</summary>
 ///<param name="pk" type="INVTransferLineBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
 /// <returns>True if succeeded</returns>
 public bool Delete(INVTransferLineBatchPrimaryKey pk)
 {
     return(POS.DataLayer.INVTransferLineBatchBase.Delete(new POS.DataLayer.INVTransferLineBatchPrimaryKey(pk.TransferLineBatchID)));
 }