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.