次の方法で共有


RelationalPrimitiveCollectionBuilderExtensions.IsFixedLength メソッド

定義

オーバーロード

IsFixedLength(PrimitiveCollectionBuilder, Boolean)

文字列などの固定長データのみを格納できるプロパティを構成します。

IsFixedLength<TProperty>(PrimitiveCollectionBuilder<TProperty>, Boolean)

文字列などの固定長データのみを格納できるプロパティを構成します。

IsFixedLength(PrimitiveCollectionBuilder, Boolean)

文字列などの固定長データのみを格納できるプロパティを構成します。

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

パラメーター

primitiveCollectionBuilder
PrimitiveCollectionBuilder

構成されているプロパティのビルダー。

fixedLength
Boolean

プロパティが固定長値に制限されているかどうかを示す値。

戻り値

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

注釈

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

適用対象

IsFixedLength<TProperty>(PrimitiveCollectionBuilder<TProperty>, Boolean)

文字列などの固定長データのみを格納できるプロパティを構成します。

public static Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<TProperty> IsFixedLength<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<TProperty> primitiveCollectionBuilder, bool fixedLength = true);
static member IsFixedLength : Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<'Property> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<'Property>
<Extension()>
Public Function IsFixedLength(Of TProperty) (primitiveCollectionBuilder As PrimitiveCollectionBuilder(Of TProperty), Optional fixedLength As Boolean = true) As PrimitiveCollectionBuilder(Of TProperty)

型パラメーター

TProperty

構成されるプロパティの型。

パラメーター

primitiveCollectionBuilder
PrimitiveCollectionBuilder<TProperty>

構成されているプロパティのビルダー。

fixedLength
Boolean

プロパティが固定長値に制限されているかどうかを示す値。

戻り値

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

注釈

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

適用対象