Education Realty Trust Inc , an owner of collegiate housing communities, said on Monday it would be acquired by an affiliate of Greystar Real Estate Partners for about $4.6 billion, including debt.