Share via


EntityInstanceReference.Materialize Method (Boolean)

Returns the referenced External Item with the option to do a delayed read.

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

Syntax

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

returnValue = instance.Materialize(readNow)
public IEntityInstance Materialize(
    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, Boolean) to obtain the External Item.

See Also

Reference

EntityInstanceReference Class

EntityInstanceReference Members

Materialize Overload

Microsoft.BusinessData.Runtime Namespace