RelationalTypeMappingConfigurationBuilderExtensions.IsFixedLength メソッド

定義

オーバーロード

IsFixedLength(TypeMappingConfigurationBuilder, Boolean)

文字列などの固定長データのみを格納できるスカラーを構成します。

IsFixedLength<TScalar>(TypeMappingConfigurationBuilder<TScalar>, Boolean)

文字列などの固定長データのみを格納できるスカラーを構成します。

IsFixedLength(TypeMappingConfigurationBuilder, Boolean)

文字列などの固定長データのみを格納できるスカラーを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder IsFixedLength (this Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder scalarBuilder, bool fixedLength = true);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder
<Extension()>
Public Function IsFixedLength (scalarBuilder As TypeMappingConfigurationBuilder, Optional fixedLength As Boolean = true) As TypeMappingConfigurationBuilder

パラメーター

scalarBuilder
TypeMappingConfigurationBuilder

構成されているスカラーのビルダー。

fixedLength
Boolean

スカラーが固定長値に制約されているかどうかを示す 値。

戻り値

複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象

IsFixedLength<TScalar>(TypeMappingConfigurationBuilder<TScalar>, Boolean)

文字列などの固定長データのみを格納できるスカラーを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<TScalar> IsFixedLength<TScalar> (this Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<TScalar> scalarBuilder, bool fixedLength = true);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<'Scalar> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<'Scalar>
<Extension()>
Public Function IsFixedLength(Of TScalar) (scalarBuilder As TypeMappingConfigurationBuilder(Of TScalar), Optional fixedLength As Boolean = true) As TypeMappingConfigurationBuilder(Of TScalar)

型パラメーター

TScalar

構成されているスカラーの型。

パラメーター

scalarBuilder
TypeMappingConfigurationBuilder<TScalar>

構成されているスカラーのビルダー。

fixedLength
Boolean

スカラーが固定長値に制約されているかどうかを示す 値。

戻り値

複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

適用対象