IRuntimeHelper.VerifyEntityInstanceReference Method (EntityInstanceReference, String, 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, and is obtained by the SpecificFinder method instance with the given name.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function VerifyEntityInstanceReference ( _
reference As EntityInstanceReference, _
entityNamespace As String, _
entityName As String, _
specificFinderName As String _
) As Boolean
'Usage
Dim instance As IRuntimeHelper
Dim reference As EntityInstanceReference
Dim entityNamespace As String
Dim entityName As String
Dim specificFinderName As String
Dim returnValue As Boolean
returnValue = instance.VerifyEntityInstanceReference(reference, _
entityNamespace, entityName, specificFinderName)
bool VerifyEntityInstanceReference(
EntityInstanceReference reference,
string entityNamespace,
string entityName,
string specificFinderName
)
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.
specificFinderName
Type: System.StringThe name of the specific finder.
Return Value
Type: System.Boolean
true if the reference is from the external content type with the specified namespace and name, and from the given specific finder; otherwise, false.