IMetadataCatalog.GetEntities Method (String)

Retrieves external content types whose names match the specified wildcard string.

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

Syntax

'Declaration
Function GetEntities ( _
    wildcardedName As String _
) As INamespacedEntityDictionaryDictionary
'Usage
Dim instance As IMetadataCatalog
Dim wildcardedName As String
Dim returnValue As INamespacedEntityDictionaryDictionary

returnValue = instance.GetEntities(wildcardedName)
INamespacedEntityDictionaryDictionary GetEntities(
    string wildcardedName
)

Parameters

Return Value

Type: Microsoft.BusinessData.MetadataModel.Collections.INamespacedEntityDictionaryDictionary
External content types that match the given criteria.

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”.

See Also

Reference

IMetadataCatalog Interface

IMetadataCatalog Members

GetEntities Overload

Microsoft.BusinessData.MetadataModel Namespace