Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TypeUsage.CreateBinaryTypeUsage Method (PrimitiveType, Boolean)

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

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static TypeUsage CreateBinaryTypeUsage(
	PrimitiveType primitiveType,
	bool isFixedLength
)

Parameters

primitiveType
Type: System.Data.Metadata.Edm.PrimitiveType

A PrimitiveType for which the TypeUsage object is created.

isFixedLength
Type: System.Boolean

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

Return Value

Type: System.Data.Metadata.Edm.TypeUsage
A TypeUsage object describing a binary type by using the specified facet values.

For more information about the binary types, see Binary (EDM).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft