FileBackedMetadataCatalog.GetEntities method (String)
Gets the external content types whose names match the specified wildcard string.
Namespace: Microsoft.Office.BusinessData.MetadataModel
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)
Syntax
'Declaration
Public Function GetEntities ( _
wildcardedName As String _
) As INamespacedEntityDictionaryDictionary
'Usage
Dim instance As FileBackedMetadataCatalog
Dim wildcardedName As String
Dim returnValue As INamespacedEntityDictionaryDictionary
returnValue = instance.GetEntities(wildcardedName)
public INamespacedEntityDictionaryDictionary GetEntities(
string wildcardedName
)
Parameters
wildcardedName
Type: System.StringA name using a wildcard.
Return value
Type: Microsoft.BusinessData.MetadataModel.Collections.INamespacedEntityDictionaryDictionary
The external content types whose names match the specified wildcard string.
Implements
IMetadataCatalog.GetEntities(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 FileBackedMetadataCatalog can only be used with object instances obtained from the same instance of FileBackedMetadataCatalog. Using incompatible object instances with each other causes data corruption and other unexpected behavior.
See also
Reference
FileBackedMetadataCatalog class