다음을 통해 공유


RelationalTypeMapper 클래스

정의

주의

Use RelationalTypeMappingSource.

.NET 형식을 해당 관계형 데이터베이스 형식에 매핑합니다.

이 형식은 일반적으로 데이터베이스 공급자(및 기타 확장)에서 사용됩니다. 일반적으로 애플리케이션 코드에는 사용되지 않습니다.

public abstract class RelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper
public abstract class RelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper, Microsoft.EntityFrameworkCore.Storage.ITypeMapper
[System.Obsolete("Use RelationalTypeMappingSource.")]
public abstract class RelationalTypeMapper : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper, Microsoft.EntityFrameworkCore.Storage.ITypeMapper
type RelationalTypeMapper = class
    interface IRelationalTypeMapper
type RelationalTypeMapper = class
    interface IRelationalTypeMapper
    interface ITypeMapper
[<System.Obsolete("Use RelationalTypeMappingSource.")>]
type RelationalTypeMapper = class
    interface IRelationalTypeMapper
    interface ITypeMapper
Public MustInherit Class RelationalTypeMapper
Implements IRelationalTypeMapper
Public MustInherit Class RelationalTypeMapper
Implements IRelationalTypeMapper, ITypeMapper
상속
RelationalTypeMapper
특성
구현

생성자

RelationalTypeMapper()
사용되지 않음.

.NET 형식을 해당 관계형 데이터베이스 형식에 매핑합니다.

이 형식은 일반적으로 데이터베이스 공급자(및 기타 확장)에서 사용됩니다. 일반적으로 애플리케이션 코드에는 사용되지 않습니다.

RelationalTypeMapper(RelationalTypeMapperDependencies)
사용되지 않음.

이 클래스의 새 instance 초기화합니다.

속성

ByteArrayMapper
사용되지 않음.

바이트 배열 속성에 사용할 매퍼를 가져옵니다.

StringMapper
사용되지 않음.

문자열 속성에 사용할 매퍼를 가져옵니다.

메서드

CreateMappingFromStoreType(String)
사용되지 않음.

지정된 데이터베이스 형식에 대한 매핑을 만듭니다.

FindCustomMapping(IProperty)
사용되지 않음.

필요한 경우 별도의 형식 매퍼를 사용하여 지정된 속성에 대한 관계형 데이터베이스 형식을 가져옵니다. 이 기본 구현에서는 문자열 및 바이트 배열 속성에 사용자 지정 매퍼를 사용합니다. 매핑을 찾을 수 없으면 null을 반환합니다.

FindMapping(IProperty)
사용되지 않음.

지정된 속성의 관계형 데이터베이스 형식을 가져옵니다. 매핑을 찾을 수 없으면 null을 반환합니다.

FindMapping(String)
사용되지 않음.

지정된 데이터베이스 형식을 나타내는 매핑을 가져옵니다. 매핑을 찾을 수 없으면 null을 반환합니다.

FindMapping(Type)
사용되지 않음.

지정된 .NET 형식에 대한 관계형 데이터베이스 형식을 가져옵니다. 매핑을 찾을 수 없으면 null을 반환합니다.

GetByteArrayMapping(IProperty)
사용되지 않음.

지정된 바이트 배열 속성에 대한 관계형 데이터베이스 형식을 가져옵니다.

GetClrTypeMappings()
사용되지 않음.

.NET 형식에서 데이터베이스 형식으로의 매핑을 가져옵니다.

GetColumnType(IProperty)
사용되지 않음.

지정된 속성의 열 형식을 가져옵니다.

GetStoreTypeMappings()
사용되지 않음.

데이터베이스 형식에서 .NET 형식으로의 매핑을 가져옵니다.

GetStringMapping(IProperty)
사용되지 않음.

지정된 문자열 속성에 대한 관계형 데이터베이스 형식을 가져옵니다.

IsTypeMapped(Type)
사용되지 않음.

지정된 .NET 형식이 매핑되는지 여부를 나타내는 값을 가져옵니다.

RequiresKeyMapping(IProperty)
사용되지 않음.

지정된 속성이 키 속성에 적합한 데이터베이스 형식을 사용해야 하는지 여부를 나타내는 값을 가져옵니다.

ValidateTypeName(String)
사용되지 않음.

지정된 형식 이름이 관계형 데이터베이스에 유효한 형식인지 확인합니다. 예외가 유효한 형식이 아닌 경우 throw됩니다.

확장 메서드

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

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

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

지정된 데이터베이스 형식을 나타내는 매핑을 가져오며 매핑을 찾을 수 없는 경우 throw합니다.

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

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

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

GetMappingForValue(IRelationalTypeMapper, Object)
사용되지 않음.

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

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

지정된 .NET 형식이 매핑되는지 여부를 나타내는 값을 가져옵니다.

적용 대상