DevForce Help Reference
Create Method (DataEntityProperty)


Creates a new DataEntityProperty from the information provided.
Syntax
'Declaration
 
Public Shared Function Create( _
   ByVal entityType As Type, _
   ByVal propertyName As String, _
   ByVal dataType As Type, _
   ByVal isNullable As Boolean, _
   ByVal isPartOfKey As Boolean, _
   ByVal concurrencyStrategy As ConcurrencyStrategy, _
   ByVal isAutoIncrementing As Boolean, _
   ByVal relatedNavigationPropertyName As String, _
   Optional ByVal isNative As Boolean, _
   Optional ByVal isComputed As Boolean _
) As DataEntityProperty
'Usage
 
Dim entityType As Type
Dim propertyName As String
Dim dataType As Type
Dim isNullable As Boolean
Dim isPartOfKey As Boolean
Dim concurrencyStrategy As ConcurrencyStrategy
Dim isAutoIncrementing As Boolean
Dim relatedNavigationPropertyName As String
Dim isNative As Boolean
Dim isComputed As Boolean
Dim value As DataEntityProperty
 
value = DataEntityProperty.Create(entityType, propertyName, dataType, isNullable, isPartOfKey, concurrencyStrategy, isAutoIncrementing, relatedNavigationPropertyName, isNative, isComputed)

Parameters

entityType
propertyName
dataType
isNullable
isPartOfKey
concurrencyStrategy
isAutoIncrementing
relatedNavigationPropertyName
isNative
isComputed
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataEntityProperty Class
DataEntityProperty Members

Send Feedback