Skip to content

Ability to map a CLR method returning queryable to TVF #20051

@smitpatel

Description

@smitpatel

Split off from #4319

            public IQueryable<OrderByYear> GetCustomerOrderCountByYear(int customerId)
            {
                return CreateQuery(() => GetCustomerOrderCountByYear(customerId));
            }

Above when used in LINQ will insert query root for OrderByYear alongwith TVF as SQL translation.

It also bootstrappable. So you don't need to create query root.

Pending items

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions