ModelTranslator 클래스

변환기에 대한 하위 수준 기본 클래스를 제공합니다.

상속 계층 구조

System.Object
  Microsoft.Data.Schema.SchemaModel.Translation.ModelTranslator
    Microsoft.Data.Schema.SchemaModel.Translation.DataSchemaModelTranslator

네임스페이스:  Microsoft.Data.Schema.SchemaModel.Translation
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
Public MustInherit Class ModelTranslator _
    Implements IExtensionInformation, IExtension
public abstract class ModelTranslator : IExtensionInformation, 
    IExtension
public ref class ModelTranslator abstract : IExtensionInformation, 
    IExtension
[<AbstractClass>]
type ModelTranslator =  
    class
        interface IExtensionInformation
        interface IExtension
    end
public abstract class ModelTranslator implements IExtensionInformation, IExtension

ModelTranslator 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Protected 메서드 ModelTranslator 제공된 정의를 사용하여 ModelTranslator 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 CompatibilityLevel 이 변환기의 변환 수준을 가져옵니다.
Public 속성 DatabaseSchemaProvider 연결된 데이터베이스 스키마 공급자를 가져옵니다.
Public 속성 DataLossPossible 변환 시 데이터 손실이 발생할 수 있는지 여부를 나타내는 값을 가져옵니다.
Protected 속성 Definition 연결된 변환기 정의를 가져옵니다.
Public 속성 ExtensionHandle 고유한 데이터 스키마 확장의 핸들을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 CanTranslateTo(Type) 변환기가 제공된 형식으로 변환할 수 있는지 여부를 나타내는 값을 반환합니다.
Public 메서드 CanTranslateTo(DatabaseSchemaProvider)
Public 메서드 Equals 지정한 Object가 현재 Object와 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드정적 멤버 FindTranslators(DatabaseSchemaProvider, Type, IList<DataSchemaError>%)
Public 메서드정적 멤버 FindTranslators(ExtensionManager, Type, IList<DataSchemaError>%)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 InstantiateCopiedModel 소스 데이터 스키마 모델을 인스턴스화된 개체로 반환합니다.
Protected 메서드 InstantiateTranslatedModel 대상 모델을 인스턴스화된 개체로 반환합니다.
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 SetExtensionHandle 이 확장 개체의 핸들을 설정합니다.
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)
Public 메서드 Translate 제공된 소스 모델을 사용하여 소스 모델 스키마를 대상 모델 스키마로 변환합니다.

위쪽

설명

다음 수준에서 이 기본 클래스는 DataSchemaModelTranslator 클래스 같은 스키마 종류의 기본 변환기 클래스입니다.

상속자 참고 사항

ModelTranslatorCompatibilityLevel에서 상속하는 경우 다음 멤버를 재정의해야 합니다.

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.Data.Schema.SchemaModel.Translation 네임스페이스

DataSchemaModelTranslator