RelationalTypeMappingConfigurationBuilderExtensions.IsFixedLength メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
スカラーが固定長値に制約されているかどうかを示す 値。
戻り値
TypeMappingConfigurationBuilder<TScalar>
複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。
注釈
詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework