RelationalTypeMapperExtensions.GetMapping メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetMapping(IRelationalTypeMapper, IProperty) |
古い.
特定のプロパティのリレーショナル データベースの種類を取得し、マッピングが見つからない場合は をスローします。 |
GetMapping(IRelationalTypeMapper, String) |
古い.
特定のデータベースの種類を表すマッピングを取得し、マッピングが見つからない場合は をスローします。 同じストアの種類が異なるマッピングを持つことがあることに注意してください。このメソッドは既定値を返します。 |
GetMapping(IRelationalTypeMapper, Type) |
古い.
特定の .NET 型のリレーショナル データベース型を取得し、マッピングが見つからない場合は をスローします。 |
GetMapping(IRelationalTypeMapper, IProperty)
注意事項
Use IRelationalTypeMappingSource instead.
特定のプロパティのリレーショナル データベースの種類を取得し、マッピングが見つからない場合は をスローします。
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IRelationalTypeMappingSource instead.")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource instead.")>]
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMapping (typeMapper As IRelationalTypeMapper, property As IProperty) As RelationalTypeMapping
パラメーター
- typeMapper
- IRelationalTypeMapper
型マッパー。
- property
- IProperty
マッピングを取得するプロパティ。
戻り値
使用する型マッピング。
- 属性
適用対象
GetMapping(IRelationalTypeMapper, String)
注意事項
Use IRelationalTypeMappingSource instead.
特定のデータベースの種類を表すマッピングを取得し、マッピングが見つからない場合は をスローします。
同じストアの種類が異なるマッピングを持つことがあることに注意してください。このメソッドは既定値を返します。
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, string typeName);
[System.Obsolete("Use IRelationalTypeMappingSource instead.")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, string typeName);
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * string -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource instead.")>]
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * string -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMapping (typeMapper As IRelationalTypeMapper, typeName As String) As RelationalTypeMapping
パラメーター
- typeMapper
- IRelationalTypeMapper
型マッパー。
- typeName
- String
マッピングを取得する型。
戻り値
使用する型マッピング。
- 属性
適用対象
GetMapping(IRelationalTypeMapper, Type)
注意事項
Use IRelationalTypeMappingSource instead.
特定の .NET 型のリレーショナル データベース型を取得し、マッピングが見つからない場合は をスローします。
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Type clrType);
[System.Obsolete("Use IRelationalTypeMappingSource instead.")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMapping (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, Type clrType);
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource instead.")>]
static member GetMapping : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMapping (typeMapper As IRelationalTypeMapper, clrType As Type) As RelationalTypeMapping
パラメーター
- typeMapper
- IRelationalTypeMapper
型マッパー。
- clrType
- Type
マッピングを取得する型。
戻り値
使用する型マッピング。
- 属性
適用対象
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示