Share via


TypeUsage.CreateBinaryTypeUsage Method

Definition

Overloads

CreateBinaryTypeUsage(PrimitiveType, Boolean)

Creates a TypeUsage object to describe a binary type by using the specified facet values.

CreateBinaryTypeUsage(PrimitiveType, Boolean, Int32)

Creates a TypeUsage object to describe a binary type by using the specified facet values.

CreateBinaryTypeUsage(PrimitiveType, Boolean)

Creates a TypeUsage object to describe a binary type by using the specified facet values.

public static System.Data.Entity.Core.Metadata.Edm.TypeUsage CreateBinaryTypeUsage (System.Data.Entity.Core.Metadata.Edm.PrimitiveType primitiveType, bool isFixedLength);
static member CreateBinaryTypeUsage : System.Data.Entity.Core.Metadata.Edm.PrimitiveType * bool -> System.Data.Entity.Core.Metadata.Edm.TypeUsage

Parameters

primitiveType
PrimitiveType

A PrimitiveType for which the TypeUsage object is created.

isFixedLength
Boolean

true to set the length of the binary type to fixed; otherwise, false.

Returns

A TypeUsage object describing a binary type by using the specified facet values.

Applies to

CreateBinaryTypeUsage(PrimitiveType, Boolean, Int32)

Creates a TypeUsage object to describe a binary type by using the specified facet values.

public static System.Data.Entity.Core.Metadata.Edm.TypeUsage CreateBinaryTypeUsage (System.Data.Entity.Core.Metadata.Edm.PrimitiveType primitiveType, bool isFixedLength, int maxLength);
static member CreateBinaryTypeUsage : System.Data.Entity.Core.Metadata.Edm.PrimitiveType * bool * int -> System.Data.Entity.Core.Metadata.Edm.TypeUsage

Parameters

primitiveType
PrimitiveType

A PrimitiveType for which the TypeUsage object is created.

isFixedLength
Boolean

true to set the length of the binary type to fixed; otherwise, false.

maxLength
Int32

The maximum length of the binary type.

Returns

A TypeUsage object describing a binary type by using the specified facet values.

Applies to