TypeUsage.CreateBinaryTypeUsage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for