Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the external content type with the given name and namespace.
Namespace: Microsoft.BusinessData.MetadataModel
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetEntity ( _
namespace As String, _
name As String _
) As IEntity
'Usage
Dim instance As IMetadataCatalog
Dim namespace As String
Dim name As String
Dim returnValue As IEntity
returnValue = instance.GetEntity(namespace, _
name)
IEntity GetEntity(
string namespace,
string name
)
Parameters
namespace
Type: System.StringThe namespace of the external content type. Namespaces are case sensitive.
name
Type: System.StringThe given name of the external content type. Names are case sensitive.
Return Value
Type: Microsoft.BusinessData.MetadataModel.IEntity
The required external content type. External content type names are case sensitive.
Examples
Code Snippet: Get the DatabaseBackedMetadataCatalog on the Server
Code Snippet: Execute a Finder Method Instance of an External Content Type
Code Snippet: Execute the Associator and Disassociator Method Instances of an External Content Type
Code Snippet: Execute the BulkAssociationNavigator Method Instance of an External Content Type