IRuntimeHelper.VerifyEntityInstanceReference Method (EntityInstanceReference, String, String)
Checks whether the given External ItemExternal Item reference references an External ItemExternal Item of the external content type with the given name and namespace.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function VerifyEntityInstanceReference ( _
reference As EntityInstanceReference, _
entityNamespace As String, _
entityName As String _
) As Boolean
'Usage
Dim instance As IRuntimeHelper
Dim reference As EntityInstanceReference
Dim entityNamespace As String
Dim entityName As String
Dim returnValue As Boolean
returnValue = instance.VerifyEntityInstanceReference(reference, _
entityNamespace, entityName)
bool VerifyEntityInstanceReference(
EntityInstanceReference reference,
string entityNamespace,
string entityName
)
Parameters
reference
Type: Microsoft.BusinessData.Runtime.EntityInstanceReferenceThe reference to validate.
entityNamespace
Type: System.StringThe namespace of the external content type.
entityName
Type: System.StringThe name of the external content type.
Return Value
Type: System.Boolean
true if the reference is from the external content type with the specified namespace and name; otherwise, false.