특정 데이터베이스 스키마 공급자가 지원하는 스키마 모델 요소에 대한 기본 클래스를 제공합니다.
상속 계층 구조
System.Object
Microsoft.Data.Schema.SchemaModel.ModelElement
Microsoft.Data.Schema.SchemaModel.DataSchemaModel.ScriptSourcedModelElement
네임스페이스: Microsoft.Data.Schema.SchemaModel
어셈블리: Microsoft.Data.Schema(Microsoft.Data.Schema.dll)
구문
‘선언
Public MustInherit Class ModelElement _
Implements IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public abstract class ModelElement : IModelElement,
IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public ref class ModelElement abstract : IModelElement,
IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
[<AbstractClass>]
type ModelElement =
class
interface IModelElement
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
end
public abstract class ModelElement implements IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
ModelElement 형식에서는 다음과 같은 멤버를 노출합니다.
생성자
위쪽
속성
위쪽
메서드
.gif) |
AddAnnotation |
제공된 IModelAnnotation 개체를 요소에 추가합니다. |
.gif) |
Delete |
스키마 모델에서 현재 요소를 삭제합니다. |
.gif) |
Equals |
제공된 개체가 현재 요소와 같은지 여부를 확인합니다. (Object.Equals(Object)을(를) 재정의함) |
.gif) |
Finalize |
가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨) |
.gif) |
GetAnnotations() |
이 요소에 추가된 주석의 목록을 가져옵니다. |
.gif) |
GetAnnotations(Type) |
이 요소에 추가되었으며 지정된 형식을 사용하는 주석의 목록을 가져옵니다. |
.gif) |
GetAnnotations(ModelIdentifier) |
현재 요소의 자식 요소인 지정된 요소에 추가된 주석의 목록을 가져옵니다. |
.gif) |
GetAnnotations(ModelIdentifier, Type) |
현재 요소의 자식 요소인 지정된 자식 요소에 추가된 지정된 형식의 주석 목록을 가져옵니다. |
.gif) |
GetAnnotations<TType>() |
현재 요소에 연결되어 있으며 제공된 형식을 사용하는 주석의 목록을 가져옵니다. |
.gif) |
GetAnnotations<TType>(ModelIdentifier) |
지정된 요소에 연결되어 있으며 해당 형식이 제공된 Type과 일치하는 주석의 목록을 가져옵니다. |
.gif) |
GetComposingChildren |
구성 자식 요소의 목록을 반환합니다. |
.gif) |
GetHashCode |
특정 형식에 대한 해시 함수 역할을 합니다. (Object.GetHashCode()을(를) 재정의함) |
.gif) |
GetHierarchicalChildren |
계층적 자식 요소의 목록을 가져옵니다. |
.gif) |
GetMultiRelationship<TFrom, TTo> |
|
.gif) |
GetOwnerInfo |
현재 요소의 소유자에 대한 정보를 반환합니다. |
.gif) |
GetProperty<TProperty> |
|
.gif) |
GetReferencedDanglingRelationshipEntries |
|
.gif) |
GetReferencedElements |
|
.gif) |
GetReferencedRelationshipEntries |
|
.gif) |
GetReferencingElements |
|
.gif) |
GetReferencingRelationshipEntries |
|
.gif) |
GetRelationship(ModelRelationshipClass) |
|
.gif) |
GetRelationship<TFrom, TTo>(ModelRelationshipClass) |
|
.gif) |
GetRelationships |
요소에 등록된 관계의 목록을 반환합니다. |
.gif) |
GetReverseMultiRelationship<TFrom, TTo> |
|
.gif) |
GetReverseSingleRelationship<TFrom, TTo> |
|
.gif) |
GetSingleRelationship<TFrom, TTo> |
|
.gif) |
GetType |
현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨) |
.gif) |
IsDeleted |
현재 요소가 삭제되었는지 여부를 나타내는 값을 반환합니다. |
.gif) |
IsExternal |
현재 요소가 현재 스키마 외부에 있는 소스에서 로드되었는지 여부를 나타내는 값을 반환합니다. |
.gif) |
MemberwiseClone |
현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨) |
.gif) .gif) |
RegisterElementClass<TElement> |
|
.gif) .gif) |
RegisterExternalPropertyClass<TProperty> |
|
.gif) .gif) |
RegisterPropertyClass<TProperty> |
|
.gif) .gif) |
RegisterRelationshipClass<TReferencedInterface>(ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean) |
|
.gif) .gif) |
RegisterRelationshipClass<TReferencedInterface>(ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean, Boolean) |
|
.gif) .gif) |
RegisterReverseRelationshipClass<TReferencedInterface> |
|
.gif) |
RemoveAnnotation |
요소에서 지정된 주석을 제거합니다. |
.gif) |
SetProperty<TProperty> |
|
.gif) |
ToString |
현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨) |
위쪽
스레드로부터의 안전성
이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.
참고 항목
참조
Microsoft.Data.Schema.SchemaModel 네임스페이스
SqlModelElement