fix: discussions/547779
CommandTreeBuilder.CreateSelectAll failed with EF6