RelationalTypeMapperExtensions.GetMapping 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
매핑을 가져올 형식입니다.
반환
사용할 형식 매핑입니다.
- 특성
적용 대상
Entity Framework
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기