Share via


RemoteSharedFileBackedMetadataCatalog.GetEntities method (String, String)

Gets the external content types for the specified namespace and whose names match the specified wildcard string.

Namespace:  Microsoft.Office.BusinessData.MetadataModel
Assembly:  Microsoft.Office.BusinessApplications.Runtime (in Microsoft.Office.BusinessApplications.Runtime.dll)

Syntax

'Declaration
Public Function GetEntities ( _
    namespace As String, _
    wildcardedName As String _
) As INamedEntityDictionary
'Usage
Dim instance As RemoteSharedFileBackedMetadataCatalog
Dim namespace As String
Dim wildcardedName As String
Dim returnValue As INamedEntityDictionary

returnValue = instance.GetEntities(namespace, _
    wildcardedName)
public INamedEntityDictionary GetEntities(
    string namespace,
    string wildcardedName
)

Parameters

  • namespace
    Type: System.String

    The namespace that contains the external content types.

Return value

Type: Microsoft.BusinessData.MetadataModel.Collections.INamedEntityDictionary
The external content types for the specified namespace and whose names match the specified wildcard string.

Implements

IMetadataCatalog.GetEntities(String, String)

Remarks

BDC uses ‘*’ as the wildcard character and the ‘\’ as the escape character. For example, to obtain all external content types which have names starting with “C”, and ending with “s*12”, this method should be called with “C*s\*12”. This will return both “Customers*12” and “Cs*12”, but not “CratesOf12” or “Cs\*12”.

Object instances obtained from an instance of RemoteSharedFileBackedMetadataCatalog can only be used with object instances obtained from the same instance of RemoteSharedFileBackedMetadataCatalog. Using incompatible object instances with each other causes data corruption and other unexpected behavior.

See also

Reference

RemoteSharedFileBackedMetadataCatalog class

RemoteSharedFileBackedMetadataCatalog members

GetEntities overload

Microsoft.Office.BusinessData.MetadataModel namespace