次の方法で共有


RelationalPropertiesConfigurationBuilderExtensions.AreFixedLength メソッド

定義

オーバーロード

AreFixedLength(PropertiesConfigurationBuilder, Boolean)

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

AreFixedLength<TProperty>(PropertiesConfigurationBuilder<TProperty>, Boolean)

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

AreFixedLength(PropertiesConfigurationBuilder, Boolean)

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

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

パラメーター

propertyBuilder
PropertiesConfigurationBuilder

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象

AreFixedLength<TProperty>(PropertiesConfigurationBuilder<TProperty>, Boolean)

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

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

型パラメーター

TProperty

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

パラメーター

propertyBuilder
PropertiesConfigurationBuilder<TProperty>

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

fixedLength
Boolean

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

戻り値

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

注釈

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

適用対象