A small apartment community on the North Carolina coast has been sold.