Share via


EdmStringTypeReference Constructors

Definition

Overloads

EdmStringTypeReference(IEdmPrimitiveType, Boolean)

Initializes a new instance of the EdmStringTypeReference class.

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

Initializes a new instance of the EdmStringTypeReference class.

EdmStringTypeReference(IEdmPrimitiveType, Boolean)

Initializes a new instance of the EdmStringTypeReference class.

public EdmStringTypeReference (Microsoft.OData.Edm.IEdmPrimitiveType definition, bool isNullable);
new Microsoft.OData.Edm.EdmStringTypeReference : Microsoft.OData.Edm.IEdmPrimitiveType * bool -> Microsoft.OData.Edm.EdmStringTypeReference
Public Sub New (definition As IEdmPrimitiveType, isNullable As Boolean)

Parameters

definition
IEdmPrimitiveType

The type this reference refers to.

isNullable
Boolean

Denotes whether the type can be nullable.

Applies to

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

Initializes a new instance of the EdmStringTypeReference class.

public EdmStringTypeReference (Microsoft.OData.Edm.IEdmPrimitiveType definition, bool isNullable, bool isUnbounded, int? maxLength, bool? isUnicode);
new Microsoft.OData.Edm.EdmStringTypeReference : Microsoft.OData.Edm.IEdmPrimitiveType * bool * bool * Nullable<int> * Nullable<bool> -> Microsoft.OData.Edm.EdmStringTypeReference
Public Sub New (definition As IEdmPrimitiveType, isNullable As Boolean, isUnbounded As Boolean, maxLength As Nullable(Of Integer), isUnicode As Nullable(Of Boolean))

Parameters

definition
IEdmPrimitiveType

The type this reference refers to.

isNullable
Boolean

Denotes whether the type can be nullable.

isUnbounded
Boolean

Denotes whether the max length is the maximum allowed value.

maxLength
Nullable<Int32>

Maximum length of a value of this type.

isUnicode
Nullable<Boolean>

Denotes if string is encoded using Unicode.

Applies to