다음을 통해 공유


RelationalTypeMapperExtensions.GetMapping 메서드

정의

오버로드

GetMapping(IRelationalTypeMapper, IProperty)
사용되지 않음.

매핑이 없는 경우 throw되는 지정된 속성의 관계형 데이터베이스 형식을 가져옵니다.

GetMapping(IRelationalTypeMapper, String)
사용되지 않음.

지정된 데이터베이스 형식을 나타내는 매핑을 가져오고 매핑이 없으면 throw합니다.

경우에 따라 동일한 저장소 유형에 서로 다른 매핑이 있을 수 있습니다. 이 메서드는 기본값을 반환합니다.

GetMapping(IRelationalTypeMapper, Type)
사용되지 않음.

매핑을 찾을 수 없는 경우 throw되는 지정된 .NET 형식에 대한 관계형 데이터베이스 형식을 가져옵니다.

GetMapping(IRelationalTypeMapper, IProperty)

주의

Use IRelationalTypeMappingSource instead.

매핑이 없는 경우 throw되는 지정된 속성의 관계형 데이터베이스 형식을 가져옵니다.

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.

지정된 데이터베이스 형식을 나타내는 매핑을 가져오고 매핑이 없으면 throw합니다.

경우에 따라 동일한 저장소 유형에 서로 다른 매핑이 있을 수 있습니다. 이 메서드는 기본값을 반환합니다.

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.

매핑을 찾을 수 없는 경우 throw되는 지정된 .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

매핑을 가져올 형식입니다.

반환

사용할 형식 매핑입니다.

특성

적용 대상