Web.GetEntity method

SharePoint Online

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)

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.
Show: