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)

public interface IView

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.

Show: