ServiceConstructor<TService> 클래스

서비스 생성자에 대한 기본 클래스를 제공합니다.

상속 계층 구조

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<TService>
      자세히...

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

구문

‘선언
Public MustInherit Class ServiceConstructor(Of TService) _
    Inherits ServiceConstructor
public abstract class ServiceConstructor<TService> : ServiceConstructor
generic<typename TService>
public ref class ServiceConstructor abstract : public ServiceConstructor
[<AbstractClass>]
type ServiceConstructor<'TService> =  
    class
        inherit ServiceConstructor
    end
JScript에서는 제네릭 형식이나 메서드를 지원하지 않습니다.

Type 매개 변수

  • TService
    이 클래스의 인스턴스에서 만들 수 있는 서비스 개체의 형식을 결정하는 Type입니다.

ServiceConstructor<TService> 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Protected 메서드 ServiceConstructor<TService> ServiceConstructor<TService> 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성 DatabaseSchemaProvider 현재 데이터베이스 스키마 공급자를 가져오거나 설정합니다. (ServiceConstructor에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Clone 현재 인스턴스의 복제본입니다.
Public 메서드 ConstructService 지정된 TService 형식의 인스턴스를 만들기 위해 DatabaseSchemaProvider에서 호출합니다.
Protected 메서드 ConstructServiceImplementation 의해 호출 합니다 ConstructService 지정 된 새 인스턴스를 반환 하는 메서드 TServiceType.
Public 메서드 Equals 지정한 Object가 현재 Object와 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

설명

DatabaseSchemaProviderGetService<TService>GetServiceConstructor<TServiceConstructor> 메서드를 실행할 때 이 ServiceConstructor<TService> 클래스를 사용합니다.

상속자 참고 사항

ServiceConstructor<TService>에서 파생되는 클래스에 속성을 추가한 다음 ConstructServiceImplementation 메서드로 만든 인스턴스에 적용할 수 있습니다.

스레드로부터의 안전성

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

참고 항목

참조

Microsoft.Data.Schema 네임스페이스

DatabaseSchemaProvider

ConstructService

GetService<TService>

GetServiceConstructor<TServiceConstructor>

상속 계층 구조

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<TService>
      Microsoft.Data.Schema.Build.DatabaseTaskHostConstructor
      Microsoft.Data.Schema.Build.SchemaDeploymentConstructor
      Microsoft.Data.Schema.SchemaModel.DataSchemaModelConstructor
      Microsoft.Data.Schema.SchemaModel.ModelBuilderConstructor
      Microsoft.Data.Schema.SchemaModel.ModelComparerConstructor
      Microsoft.Data.Schema.SchemaModel.ParserConstructor
      Microsoft.Data.Schema.SchemaModel.ReverseEngineerConstructor
      Microsoft.Data.Schema.SchemaModel.ScriptDomGeneratorConstructor
      Microsoft.Data.Schema.SchemaModel.ScriptGeneratorConstructor
      Microsoft.Data.Schema.ScriptDom.Sql.SqlScriptComparerConstructor
      Microsoft.Data.Schema.Sql.SchemaModel.SqlInterpreterConstructor