次の方法で共有


RelationalComplexTypePrimitiveCollectionBuilderExtensions.IsFixedLength メソッド

定義

オーバーロード

IsFixedLength(ComplexTypePrimitiveCollectionBuilder, Boolean)

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

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

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

IsFixedLength(ComplexTypePrimitiveCollectionBuilder, Boolean)

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

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

パラメーター

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象

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

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

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

型パラメーター

TProperty

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

パラメーター

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder<TProperty>

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象