IdeaBlade DevForce 2010 Help Reference
EntityKey Constructor(Type,Object)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityKey Class > EntityKey Constructor : EntityKey Constructor(Type,Object)



entityType
The Entity type
aValue
The value of the primary key property
Initializes a new instance of the EntityKey class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal entityType As Type, _
   ByVal aValue As Object _
)
Visual Basic (Usage)Copy Code
Dim entityType As Type
Dim aValue As Object
 
Dim instance As New EntityKey(entityType, aValue)
C# 
public EntityKey( 
   Type entityType,
   object aValue
)
C++/CLI 
public:
EntityKey( 
   Type^ entityType,
   Object^ aValue
)

Parameters

entityType
The Entity type
aValue
The value of the primary key property

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.