ISystemUtility.CreateEntityInstanceDataEnumerator Method
Converts line-of-business data stream into an enumerator of objects that represent external items.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function CreateEntityInstanceDataEnumerator ( _
rawStream As Object, _
sharedEntityState As ISharedEntityState _
) As IEnumerator
'Usage
Dim instance As ISystemUtility
Dim rawStream As Object
Dim sharedEntityState As ISharedEntityState
Dim returnValue As IEnumerator
returnValue = instance.CreateEntityInstanceDataEnumerator(rawStream, _
sharedEntityState)
IEnumerator CreateEntityInstanceDataEnumerator(
Object rawStream,
ISharedEntityState sharedEntityState
)
Parameters
rawStream
Type: System.ObjectLine-of-business data stream to convert.
sharedEntityState
Type: Microsoft.BusinessData.Runtime.ISharedEntityStateShared state of external items that are going to be generated from the returned enumeration.
Return Value
Type: System.Collections.IEnumerator
An enumerator that contains the objects that correspond to external items.
Remarks
Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.
Examples
Code Snippet: Implementing a Custom Connector