Update EntityMaterializer.cs