Partilhar via


ISystemProxyGenerator.GenerateProxyAssembly Method

Generates the proxy assembly for the given external system.

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

Syntax

'Declaration
Function GenerateProxyAssembly ( _
    lobSystemStruct As ILobSystemStruct, _
    lobSystemProperties As INamedPropertyDictionary _
) As ProxyGenerationResult
'Usage
Dim instance As ISystemProxyGenerator
Dim lobSystemStruct As ILobSystemStruct
Dim lobSystemProperties As INamedPropertyDictionary
Dim returnValue As ProxyGenerationResult

returnValue = instance.GenerateProxyAssembly(lobSystemStruct, _
    lobSystemProperties)
ProxyGenerationResult GenerateProxyAssembly(
    ILobSystemStruct lobSystemStruct,
    INamedPropertyDictionary lobSystemProperties
)

Parameters

Return Value

Type: Microsoft.BusinessData.Runtime.ProxyGenerationResult
An element that contains either the proxy as a byte array or the assembly object.

Remarks

If the returned result contains the bytes of a proxy, Business Data Connectivity (BDC) service will use these bytes. Otherwise BDC will use the returned assembly.

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.

See Also

Reference

ISystemProxyGenerator Interface

ISystemProxyGenerator Members

Microsoft.BusinessData.Runtime Namespace