다음을 통해 공유


DatabaseBackedMetadataCatalog.GetEntities Method (String, String)

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

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

Syntax

'Declaration
Public Function GetEntities ( _
    namespace As String, _
    wildcardedName As String _
) As INamedEntityDictionary
'Usage
Dim instance As DatabaseBackedMetadataCatalog
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 DatabaseBackedMetadataCatalog for a BdcServiceApplicationProxy can only be used with object instances obtained from instances of DatabaseBackedMetadataCatalog for the same BdcServiceApplicationProxy. Using incompatible object instances with each other causes data corruption and other unexpected behavior.

See Also

Reference

DatabaseBackedMetadataCatalog Class

DatabaseBackedMetadataCatalog Members

GetEntities Overload

Microsoft.SharePoint.BusinessData.MetadataModel Namespace