다음을 통해 공유


DatabaseBackedMetadataCatalog.GetEntity Method

Gets the external content type with the specified namespace and name.

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

Syntax

'Declaration
Public Function GetEntity ( _
    namespace As String, _
    name As String _
) As IEntity
'Usage
Dim instance As DatabaseBackedMetadataCatalog
Dim namespace As String
Dim name As String
Dim returnValue As IEntity

returnValue = instance.GetEntity(namespace, _
    name)
public IEntity GetEntity(
    string namespace,
    string name
)

Parameters

  • namespace
    Type: System.String

    The namespace of the external content type.

  • name
    Type: System.String

    The name of the external content type.

Return Value

Type: Microsoft.BusinessData.MetadataModel.IEntity
The external content type object.

Implements

IMetadataCatalog.GetEntity(String, String)

Remarks

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

Microsoft.SharePoint.BusinessData.MetadataModel Namespace