RelationalTypeMapperExtensions.GetMapping Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| GetMapping(IRelationalTypeMapper, IProperty) |
Kullanımdan kalktı.
Belirli bir özellik için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur. |
| GetMapping(IRelationalTypeMapper, String) |
Kullanımdan kalktı.
Verilen veritabanı türünü temsil eden eşlemeyi alır, hiçbir eşleme bulunmazsa oluşturulur. Bazen aynı depo türünün farklı eşlemelere sahip olabileceğini unutmayın; Bu yöntem varsayılan değerini döndürür. |
| GetMapping(IRelationalTypeMapper, Type) |
Kullanımdan kalktı.
Belirli bir .NET türü için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur. |
GetMapping(IRelationalTypeMapper, IProperty)
Dikkat
Use IRelationalTypeMappingSource instead.
Belirli bir özellik için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.
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
Parametreler
- typeMapper
- IRelationalTypeMapper
Tür Eşleyici.
- property
- IProperty
Eşlemesini almak için özelliği.
Döndürülenler
Kullanılacak tür eşlemesi.
- Öznitelikler
Şunlara uygulanır
GetMapping(IRelationalTypeMapper, String)
Dikkat
Use IRelationalTypeMappingSource instead.
Verilen veritabanı türünü temsil eden eşlemeyi alır, hiçbir eşleme bulunmazsa oluşturulur.
Bazen aynı depo türünün farklı eşlemelere sahip olabileceğini unutmayın; Bu yöntem varsayılan değerini döndürür.
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
Parametreler
- typeMapper
- IRelationalTypeMapper
Tür Eşleyici.
- typeName
- String
Eşleme alınacak tür.
Döndürülenler
Kullanılacak tür eşlemesi.
- Öznitelikler
Şunlara uygulanır
GetMapping(IRelationalTypeMapper, Type)
Dikkat
Use IRelationalTypeMappingSource instead.
Belirli bir .NET türü için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.
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
Parametreler
- typeMapper
- IRelationalTypeMapper
Tür Eşleyici.
- clrType
- Type
Eşleme alınacak tür.
Döndürülenler
Kullanılacak tür eşlemesi.
- Öznitelikler