IView Interface

Represents a collection of fields, where fields are the data members of an external content type.

Namespace:  Microsoft.BusinessData.MetadataModel
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Interface IView
'Usage
Dim instance As IView
public interface IView

Remarks

Views are generally created based on MethodInstances.

For MethodInstance types that return external items, the created view contains fields that wrap the first-level children of the TypeDescriptor, which identifies root TypeDescriptor of the external item.

If the stereotype is returning a single item (such as FindSpecific), the root TypeDescriptor is the ReturnTypeDescriptor of that MethodInstance.

For stereotypes that return multiple items (for example, Finder), the root TypeDescriptor is the only child TypeDescriptor of the ReturnTypeDescriptor for the MethodInstance, which must identify a collection.

For MethodInstanceType objects that accept external content type fields as input (such as Creator), the created view contains fields that wrap TypeDescriptor objects that are marked CreatorField or UpdaterField across all input parameters, based on the stereotype.

Examples

Code Snippet: Execute the Creator Method Instance of an External Content Type

See Also

Reference

IView Members

Microsoft.BusinessData.MetadataModel Namespace