The Table Valued Function Editor is the editor which allows you to alter any aspect of a table valued call definition: its parameters, the parameter mappings, the resultset mappings and its code generation information. You open a table valued function call definition in its Table Valued Function Call Editor by selecting it in the Project Explorer and then right-clicking it and selecting 'Edit...', or by pressing cntrl-shift-O.
The Table Valued Function Call editor consists of the following main parts:
At the top of the Table Valued Function Call Editor you'll find the following editor elements:
For return types you can choose from the available entities or typed views. Entities in an inheritance hierarchy aren't supported as return type.
The designer also offers a General Table Valued Function Call Editor. This is a special kind of Table Valued Function Call editor which allows you to edit the table valued function call which is currently selected in the project explorer. This editor is opened by selecting Project -> General Table Valued Function Call Editor in the menu, or by clicking the General Table Valued Function Call Editor toolbar button. The advantage of the General Table Valued Function Call Editor is that it keeps the current sub tab selected when you select another table values function call in the project explorer, which allows you to e.g. edit the mappings of several table values function calls without a lot of clicking through tabs.