Net Present Value (NPV) is the sum of all the cash flows over the life of the investment discounted to the present value.
Internal Rate of Return (IRR) is the annualized rate of return over the entire holding period of the property. Your next best alternative investment should have a yield (i.e. Cost of Capital) less than the IRR for the NPV to be positive.