次の方法で共有


RelationalComplexTypePropertyBuilderExtensions.IsFixedLength メソッド

定義

オーバーロード

IsFixedLength(ComplexTypePropertyBuilder, Boolean)

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

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

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

IsFixedLength(ComplexTypePropertyBuilder, Boolean)

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

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

パラメーター

propertyBuilder
ComplexTypePropertyBuilder

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象

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

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

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

型パラメーター

TProperty

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

パラメーター

propertyBuilder
ComplexTypePropertyBuilder<TProperty>

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象