Entity.Create Method

Creates an external content type.

Namespace:  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    name As String, _
    namespace As String, _
    isCached As Boolean, _
    entityVersion As Version, _
    estimatedInstanceCount As UInteger, _
    cacheUsage As CacheUsage, _
    lobSystem As LobSystem, _
    model As Model, _
    metadataCatalog As AdministrationMetadataCatalog _
) As Entity
'Usage
Dim name As String
Dim namespace As String
Dim isCached As Boolean
Dim entityVersion As Version
Dim estimatedInstanceCount As UInteger
Dim cacheUsage As CacheUsage
Dim lobSystem As LobSystem
Dim model As Model
Dim metadataCatalog As AdministrationMetadataCatalog
Dim returnValue As Entity

returnValue = Entity.Create(name, namespace, _
    isCached, entityVersion, estimatedInstanceCount, _
    cacheUsage, lobSystem, model, metadataCatalog)
public static Entity Create(
    string name,
    string namespace,
    bool isCached,
    Version entityVersion,
    uint estimatedInstanceCount,
    CacheUsage cacheUsage,
    LobSystem lobSystem,
    Model model,
    AdministrationMetadataCatalog metadataCatalog
)

Parameters

  • name
    Type: System.String

    The name of the external content type.

  • namespace
    Type: System.String

    The namespace that contains the external content type.

  • isCached
    Type: System.Boolean

    true if the instance is cached; otherwise, false.

  • entityVersion
    Type: System.Version

    The external content type version.

  • estimatedInstanceCount
    Type: System.UInt32

    An estimate of the number of instances.

Return Value

Type: Microsoft.SharePoint.BusinessData.Administration.Client.Entity
The external content type that is created.

See Also

Reference

Entity Class

Entity Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace