EdmStringTypeReference Constructor (IEdmPrimitiveType, Boolean, Boolean, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, String)

Creates a new instance of the EdmStringTypeReference class.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Sub New ( _
    definition As IEdmPrimitiveType, _
    isNullable As Boolean, _
    isUnbounded As Boolean, _
    maxLength As Nullable(Of Integer), _
    isFixedLength As Nullable(Of Boolean), _
    isUnicode As Nullable(Of Boolean), _
    collation As String _
)
'Usage
Dim definition As IEdmPrimitiveType 
Dim isNullable As Boolean 
Dim isUnbounded As Boolean 
Dim maxLength As Nullable(Of Integer)
Dim isFixedLength As Nullable(Of Boolean)
Dim isUnicode As Nullable(Of Boolean)
Dim collation As String 

Dim instance As New EdmStringTypeReference(definition, _
    isNullable, isUnbounded, maxLength, _
    isFixedLength, isUnicode, collation)
public EdmStringTypeReference(
    IEdmPrimitiveType definition,
    bool isNullable,
    bool isUnbounded,
    Nullable<int> maxLength,
    Nullable<bool> isFixedLength,
    Nullable<bool> isUnicode,
    string collation
)
public:
EdmStringTypeReference(
    IEdmPrimitiveType^ definition, 
    bool isNullable, 
    bool isUnbounded, 
    Nullable<int> maxLength, 
    Nullable<bool> isFixedLength, 
    Nullable<bool> isUnicode, 
    String^ collation
)
new : 
        definition:IEdmPrimitiveType * 
        isNullable:bool * 
        isUnbounded:bool * 
        maxLength:Nullable<int> * 
        isFixedLength:Nullable<bool> * 
        isUnicode:Nullable<bool> * 
        collation:string -> EdmStringTypeReference
public function EdmStringTypeReference(
    definition : IEdmPrimitiveType, 
    isNullable : boolean, 
    isUnbounded : boolean, 
    maxLength : Nullable<int>, 
    isFixedLength : Nullable<boolean>, 
    isUnicode : Nullable<boolean>, 
    collation : String
)

Parameters

  • isNullable
    Type: System.Boolean
    Denotes whether the type can be nullable.
  • collation
    Type: System.String
    Indicates the collation string to be used by the underlying store.

See Also

Reference

EdmStringTypeReference Class

EdmStringTypeReference Overload

Microsoft.Data.Edm.Library Namespace