Partilhar via


EntityInstanceReference.Materialize Method (OperationMode, Boolean)

Returns the referenced External Item using the specified operation mode and the option to do a delayed read.

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

Syntax

'Declaration
Public Function Materialize ( _
    mode As OperationMode, _
    readNow As Boolean _
) As IEntityInstance
'Usage
Dim instance As EntityInstanceReference
Dim mode As OperationMode
Dim readNow As Boolean
Dim returnValue As IEntityInstance

returnValue = instance.Materialize(mode, _
    readNow)
public IEntityInstance Materialize(
    OperationMode mode,
    bool readNow
)

Parameters

  • readNow
    Type: System.Boolean

    true to retrieve all the fields of the External Item immediately from the external system; false to retrieve the fields only when needed.

Return Value

Type: Microsoft.BusinessData.Runtime.IEntityInstance
The referenced External Item.

Remarks

This method will call FindSpecific(Identity, String, ILobSystemInstance, OperationMode, Boolean) to obtain the External Item.

See Also

Reference

EntityInstanceReference Class

EntityInstanceReference Members

Materialize Overload

Microsoft.BusinessData.Runtime Namespace