Метод Web.GetEntity
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.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Function GetEntity ( _
namespace As String, _
name As String _
) As Entity
'Применение
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
)
Параметры
namespace
Тип: System.StringThe namespace of the external content type.
name
Тип: System.StringThe name of the external content type.
Возвращаемое значение
Тип: Microsoft.BusinessData.MetadataModel.Entity
The external content type with the specified namespace and name in the context of the current site.