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