3.2.5.143.2.2.8 GetEntity

Return Type: Microsoft.BusinessData.MetadataModel.Entity

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

Parameters:

namespace: The namespace of the external content type

Type: CSOM String

name: The name of the external content type

Type: CSOM String

Exceptions:

Error Code

Error Type Name

Condition

-1

Microsoft.BusinessData.MetadataModel.MetadataObjectNotFoundException

Entity with the given parameters cannot be found

-2147467261

System.ArgumentNullException

At least one of the parameters is null