IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > DataEntityProperty Class : Create Method |
'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)
public static DataEntityProperty Create( Type entityType, string propertyName, Type dataType, bool isNullable, bool isPartOfKey, ConcurrencyStrategy concurrencyStrategy, bool isAutoIncrementing, string relatedNavigationPropertyName, bool isNative, bool isComputed )
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