@parimala.prata
As in the running Demo the used variable is of datatype Datatable IT has the Method asenumerable
The Same IS required in your Implementation. In Case of there is an issue with Import of the datasetextensions into the namespaces have a Look Here