Share via


TypeUsage.CreateDecimalTypeUsage Method

Definition

Overloads

CreateDecimalTypeUsage(PrimitiveType)

Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values.

CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)

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

CreateDecimalTypeUsage(PrimitiveType)

Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values.

public static System.Data.Entity.Core.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Entity.Core.Metadata.Edm.PrimitiveType primitiveType);
static member CreateDecimalTypeUsage : System.Data.Entity.Core.Metadata.Edm.PrimitiveType -> System.Data.Entity.Core.Metadata.Edm.TypeUsage

Parameters

primitiveType
PrimitiveType

A PrimitiveType for which the TypeUsage object is created.

Returns

A TypeUsage object describing a decimal type with unbounded precision and scale facet values.

Applies to

CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)

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

public static System.Data.Entity.Core.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Entity.Core.Metadata.Edm.PrimitiveType primitiveType, byte precision, byte scale);
static member CreateDecimalTypeUsage : System.Data.Entity.Core.Metadata.Edm.PrimitiveType * byte * byte -> System.Data.Entity.Core.Metadata.Edm.TypeUsage

Parameters

primitiveType
PrimitiveType

A PrimitiveType for which the TypeUsage object is created.

precision
Byte

The precision of the decimal type as type Byte.

scale
Byte

The scale of the decimal type as type Byte.

Returns

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

Applies to