다음을 통해 공유


TSqlModel 클래스

Represents a model of a SQL Server database schema.

상속 계층

System.Object
  Microsoft.SqlServer.Dac.Model.TSqlModel

네임스페이스:  Microsoft.SqlServer.Dac.Model
어셈블리:  Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)

구문

‘선언
Public NotInheritable Class TSqlModel _
    Implements IDisposable
‘사용 방법
Dim instance As TSqlModel
public sealed class TSqlModel : IDisposable
public ref class TSqlModel sealed : IDisposable
[<SealedAttribute>]
type TSqlModel =  
    class 
        interface IDisposable 
    end
public final class TSqlModel implements IDisposable

TSqlModel 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 TSqlModel(String) Initializes a new instance of the TSqlModel class.
공용 메서드 TSqlModel(String, DacSchemaModelStorageType) Initializes a new instance of the TSqlModel class.
공용 메서드 TSqlModel(SqlServerVersion, TSqlModelOptions) Initializes a new instance of the TSqlModel class.

맨 위로 이동

속성

  이름 설명
공용 속성 Version Gets the specific SQL Server release targeted by the model.

맨 위로 이동

메서드

  이름 설명
공용 메서드 AddObjects(TSqlScript) Adds objects to the model based on the contents of a TSqlScript object. The script should be valid TSql with no parse errors.
공용 메서드 AddObjects(String) Adds objects to the model based on the contents of a TSql Script string. The script should consist of valid TSql DDL statements.
공용 메서드 AddObjects(TSqlScript, TSqlObjectOptions) Add Objects to the model based on the contents of a TSqlScript object, plus additional metadata defined by a TSqlObjectOptions object The script should be valid TSql with no parse errors.
공용 메서드 AddObjects(String, TSqlObjectOptions) Adds Objects to the model based on the contents of a TSql Script string, plus additional metadata defined by a TSqlObjectOptions object The script should consist of valid TSql DDL statements.
공용 메서드 Dispose Releases all resources used by the TSqlModel object.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetObject Returns TSqlObjects of the specified objectType and id. Only top level ModelTypeClass types are supported by this method - the objectType parameter must be in the types returned from the TopLevelTypes method or the call will fail.
공용 메서드 GetObjects(DacQueryScopes, array<ModelTypeClass[]) Returns all TSqlObject matching the list of typeFilters. Only top level ModelTypeClass types are supported by this method - all types in the typeFilters parameter must be present in the TopLevelTypes or the call will fail.
공용 메서드 GetObjects(ModelTypeClass, ObjectIdentifier, DacQueryScopes) Returns all TSqlObject that match the ModelTypeClass and ObjectIdentifier. Only top level ModelTypeClass types are supported by this method - the objectType parameter must be in the types returned from the TopLevelTypes method or the call will fail.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)
공용 메서드 Validate Validates the model and returns a list of messages with any errors/warnings.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dac.Model 네임스페이스