次の方法で共有


ModelElement クラス

特定のデータベース スキーマ プロバイダーでサポートされるスキーマ モデル要素の基本クラスを提供します。

継承階層

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 型で公開されるメンバーは以下のとおりです。

コンストラクター

  名前 説明
プロテクト メソッド ModelElement ModelElement クラスの新しいインスタンスを初期化します。

このページのトップへ

プロパティ

  名前 説明
パブリック プロパティ ElementClass 要素の ElementClass メタデータを取得します。
パブリック プロパティ Model 要素の ModelStore を取得します。
パブリック プロパティ Name 要素の識別子を取得します。
パブリック プロパティ ResolutionStatus 現在の解決ステータスを取得します。
パブリック プロパティ SourceCodePositions
パブリック プロパティ ValidationStatus 現在の要素の検証ステータスを示す値を取得します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド AddAnnotation 指定した IModelAnnotation オブジェクトを要素に追加します。
パブリック メソッド Delete スキーマ モデルから現在の要素を削除します。
パブリック メソッド Equals 指定したオブジェクトが現在の要素と等しいかどうかを判断します。 (Object.Equals(Object) をオーバーライドします。)
プロテクト メソッド Finalize オブジェクトがガベージ コレクションにより収集される前に、そのオブジェクトがリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。)
パブリック メソッド GetAnnotations() この要素に追加された注釈のリストを取得します。
パブリック メソッド GetAnnotations(Type) この要素に追加されている指定した型の注釈のリストを取得します。
パブリック メソッド GetAnnotations(ModelIdentifier) 現在の要素の子要素である特定の要素に追加された注釈のリストを取得します。
パブリック メソッド GetAnnotations(ModelIdentifier, Type) 現在の要素の子である特定の要素に追加されている指定した型の注釈のリストを取得します。
パブリック メソッド GetAnnotations<TType>() 現在の要素にアタッチされている指定した型の注釈のリストを取得します。
パブリック メソッド GetAnnotations<TType>(ModelIdentifier) 指定した要素にアタッチされており、その型が指定した Type に一致する注釈のリストを取得します。
パブリック メソッド GetComposingChildren 構成する子要素のリストを返します。
パブリック メソッド GetHashCode 特定の型のハッシュ関数として機能します。 (Object.GetHashCode() をオーバーライドします。)
パブリック メソッド GetHierarchicalChildren 子階層にある子要素のリストを取得します。
パブリック メソッド GetMultiRelationship<TFrom, TTo>
パブリック メソッド GetOwnerInfo 現在の要素の所有者に関する情報を返します。
パブリック メソッド GetProperty<TProperty>
パブリック メソッド GetReferencedDanglingRelationshipEntries
パブリック メソッド GetReferencedElements
パブリック メソッド GetReferencedRelationshipEntries
パブリック メソッド GetReferencingElements
パブリック メソッド GetReferencingRelationshipEntries
パブリック メソッド GetRelationship(ModelRelationshipClass)
パブリック メソッド GetRelationship<TFrom, TTo>(ModelRelationshipClass)
パブリック メソッド GetRelationships 要素に登録されているリレーションシップのリストを返します。
パブリック メソッド GetReverseMultiRelationship<TFrom, TTo>
パブリック メソッド GetReverseSingleRelationship<TFrom, TTo>
パブリック メソッド GetSingleRelationship<TFrom, TTo>
パブリック メソッド GetType 現在のインスタンスの Type を取得します。 (Object から継承されます。)
パブリック メソッド IsDeleted 現在の要素が削除されているかどうかを示す値を返します。
パブリック メソッド IsExternal 現在のスキーマの外部のソースから現在の要素が読み込まれているかどうかを示す値を返します。
プロテクト メソッド MemberwiseClone 現在の Object の簡易コピーを作成します。 (Object から継承されます。)
プロテクト メソッド静的メンバー RegisterElementClass<TElement>
プロテクト メソッド静的メンバー RegisterExternalPropertyClass<TProperty>
プロテクト メソッド静的メンバー RegisterPropertyClass<TProperty>
プロテクト メソッド静的メンバー RegisterRelationshipClass<TReferencedInterface>(ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean)
プロテクト メソッド静的メンバー RegisterRelationshipClass<TReferencedInterface>(ModelElementClass, String, ModelRelationshipType, ModelRelationshipCardinalityStyle, Boolean, Boolean)
プロテクト メソッド静的メンバー RegisterReverseRelationshipClass<TReferencedInterface>
パブリック メソッド RemoveAnnotation 要素から指定した注釈を削除します。
パブリック メソッド SetProperty<TProperty>
パブリック メソッド ToString 現在のオブジェクトを表す文字列を返します。 (Object から継承されます。)

このページのトップへ

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

参照

参照

Microsoft.Data.Schema.SchemaModel 名前空間

SqlModelElement