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.UInt32The identifier (ID) of the external content type.
name
Type: System.StringThe name of the external content type.
isCached
Type: System.Booleantrue to cache the class instance; otherwise, false.
objectVersion
Type: System.Int32The object version.
partitionId
Type: System.GuidThe partition ID.
nameSpace
Type: System.StringThe namespace.
estimatedInstanceCount
Type: System.UInt32The estimated instance count.
cacheUsage
Type: Microsoft.BusinessData.Runtime.CacheUsageThe cache usage.
description
Type: System.StringThe description.
version
Type: System.VersionThe version.
active
Type: System.Booleantrue if the instance is active; otherwise, false.
lobSystemId
Type: System.UInt32The external system ID.
modelId
Type: System.UInt32The mode ID.