Share via


Web.GetEntity method

Specifies the external content type with the specified namespace and name in the context of the current site. This method is used as the entry point to create, read, update, and delete (CRUD) operations against an Entity.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

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

returnValue = instance.GetEntity(namespace, _
    name)
public Entity 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.Entity
The external content type with the specified namespace and name in the context of the current site.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace