Share via


EntityStruct Constructor (UInt32, String, Boolean, Int32, Guid, String, UInt32, CacheUsage, String, Version, Boolean, UInt32, UInt32)

Initializes a new instance of the class.

Namespace:  Microsoft.SharePoint.BusinessData.SharedService
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    id As UInteger, _
    name As String, _
    isCached As Boolean, _
    objectVersion As Integer, _
    partitionId As Guid, _
    nameSpace As String, _
    estimatedInstanceCount As UInteger, _
    cacheUsage As CacheUsage, _
    description As String, _
    version As Version, _
    active As Boolean, _
    lobSystemId As UInteger, _
    modelId As UInteger _
)
'Usage
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim objectVersion As Integer
Dim partitionId As Guid
Dim nameSpace As String
Dim estimatedInstanceCount As UInteger
Dim cacheUsage As CacheUsage
Dim description As String
Dim version As Version
Dim active As Boolean
Dim lobSystemId As UInteger
Dim modelId As UInteger

Dim instance As New EntityStruct(id, name, _
    isCached, objectVersion, partitionId, _
    nameSpace, estimatedInstanceCount, _
    cacheUsage, description, version, _
    active, lobSystemId, modelId)
public EntityStruct(
    uint id,
    string name,
    bool isCached,
    int objectVersion,
    Guid partitionId,
    string nameSpace,
    uint estimatedInstanceCount,
    CacheUsage cacheUsage,
    string description,
    Version version,
    bool active,
    uint lobSystemId,
    uint modelId
)

Parameters

  • id
    Type: System.UInt32

    The identifier (ID) of the external content type.

  • name
    Type: System.String

    The name of the external content type.

  • isCached
    Type: System.Boolean

    true to cache the class instance; otherwise, false.

  • estimatedInstanceCount
    Type: System.UInt32

    The estimated instance count.

  • active
    Type: System.Boolean

    true if the instance is active; otherwise, false.

See Also

Reference

EntityStruct Class

EntityStruct Members

EntityStruct Overload

Microsoft.SharePoint.BusinessData.SharedService Namespace