I have tree structure table like,
Table{Id, ParentId, Name}
where Id is primary key, and parent Id is a foreign key, but to the same table.
How can I use entity framework to recursively to get all child nodes?
EF doesn't have support for recursive queries. You can map such structure easily as referenced by @Eranga in comment but once you load entities you must either manually define eager loading (= you must say how deep it should go) or your child entities will be loaded by lazy loading first time they are accessed (that is extremely inefficient).
The best way to work with hierarchical structures in EF is either using database view to hide hierarchical SQL query or using SQL / stored procedures directly.