Share via


TypeUsage.CreateDecimalTypeUsage メソッド

定義

10 進数型を記述する TypeUsage オブジェクトを作成します。

オーバーロード

CreateDecimalTypeUsage(PrimitiveType)

制限のない有効桁数ファセット値および小数部桁数ファセット値を使用して 10 進数型を記述する TypeUsage オブジェクトを作成します。

CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)

指定されたファセット値を使用して 10 進数型を記述する TypeUsage オブジェクトを作成します。

CreateDecimalTypeUsage(PrimitiveType)

制限のない有効桁数ファセット値および小数部桁数ファセット値を使用して 10 進数型を記述する TypeUsage オブジェクトを作成します。

public:
 static System::Data::Metadata::Edm::TypeUsage ^ CreateDecimalTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType);
public static System.Data.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType);
static member CreateDecimalTypeUsage : System.Data.Metadata.Edm.PrimitiveType -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateDecimalTypeUsage (primitiveType As PrimitiveType) As TypeUsage

パラメーター

primitiveType
PrimitiveType

対応する PrimitiveType オブジェクトが作成される TypeUsage

戻り値

制限のない有効桁数ファセット値および小数部桁数ファセット値を使用して 10 進数型を記述する TypeUsage オブジェクト。

適用対象

CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)

指定されたファセット値を使用して 10 進数型を記述する TypeUsage オブジェクトを作成します。

public:
 static System::Data::Metadata::Edm::TypeUsage ^ CreateDecimalTypeUsage(System::Data::Metadata::Edm::PrimitiveType ^ primitiveType, System::Byte precision, System::Byte scale);
public static System.Data.Metadata.Edm.TypeUsage CreateDecimalTypeUsage (System.Data.Metadata.Edm.PrimitiveType primitiveType, byte precision, byte scale);
static member CreateDecimalTypeUsage : System.Data.Metadata.Edm.PrimitiveType * byte * byte -> System.Data.Metadata.Edm.TypeUsage
Public Shared Function CreateDecimalTypeUsage (primitiveType As PrimitiveType, precision As Byte, scale As Byte) As TypeUsage

パラメーター

primitiveType
PrimitiveType

対応する PrimitiveType オブジェクトが作成される TypeUsage

precision
Byte

Decimal 型の有効桁数 (Byte 型として)。

scale
Byte

Decimal 型の小数点以下桁数 (Byte 型として)。

戻り値

指定されたファセット値を使用して 10 進数型を記述する TypeUsage オブジェクト。

適用対象