IAction.DoesWorkWith Method
Gets a value that indicates if this action is supported against an EntityInstance that has the given view.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function DoesWorkWith ( _
view As IView _
) As Boolean
'Usage
Dim instance As IAction
Dim view As IView
Dim returnValue As Boolean
returnValue = instance.DoesWorkWith(view)
bool DoesWorkWith(
IView view
)
Parameters
view
Type: Microsoft.BusinessData.MetadataModel.IViewThe view to check against.
Return Value
Type: System.Boolean
true if the action can work against the given view; otherwise, false.
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.