ForeignKey Class

Inheritance Hierarchy

System..::..Object
  Microsoft.Data.Tools.Model.Simple..::..ModelObject
    Microsoft.Data.Tools.Model.Simple..::..ModelElement
      Microsoft.Data.Tools.Model.Simple..::..NameableModelElement
        Microsoft.Data.Tools.Model.Simple..::..ForeignKey

Namespace:  Microsoft.Data.Tools.Model.Simple
Assembly:  Microsoft.Data.Tools.Model (in Microsoft.Data.Tools.Model.dll)

Syntax

'Declaration
Public Class ForeignKey _
    Inherits NameableModelElement _
    Implements IForeignKey, IReferenceableModelObject, IModelElement, IModelObject
'Usage
Dim instance As ForeignKey
public class ForeignKey : NameableModelElement, IForeignKey, 
    IReferenceableModelObject, IModelElement, IModelObject
public ref class ForeignKey : public NameableModelElement, 
    IForeignKey, IReferenceableModelObject, IModelElement, IModelObject
type ForeignKey =  
    class
        inherit NameableModelElement
        interface IForeignKey
        interface IReferenceableModelObject
        interface IModelElement
        interface IModelObject
    end
public class ForeignKey extends NameableModelElement implements IForeignKey, IReferenceableModelObject, IModelElement, IModelObject

The ForeignKey type exposes the following members.

Constructors

  Name Description
Public method ForeignKey(Table) Initializes a new instance of the ForeignKey class.
Public method ForeignKey(Table, IQualifiedIdentifier) Initializes a new instance of the ForeignKey class.
Public method ForeignKey(Table, String) Initializes a new instance of the ForeignKey class.

Top

Properties

  Name Description
Public property ChildNodes Gets {insert text here}. (Overrides ModelObject..::..ChildNodes.)
Public property ForeignKeyParts Gets {insert text here}.
Public property ForeignKeyTable Gets {insert text here}.
Public property Identifier Gets {insert text here}. (Inherited from NameableModelElement.)
Public property Model Gets {insert text here}. (Inherited from ModelObject.)
Public property Name Gets {insert text here}. (Inherited from NameableModelElement.)
Public property OwningTable Gets {insert text here}.
Public property ParentNode Gets {insert text here}. (Inherited from ModelObject.)

Top

Methods

  Name Description
Public method AddAnnotation (Inherited from ModelObject.)
Public method CreateForeignKeyPart
Public method CreateScript (Inherited from ModelObject.)
Public method Delete (Inherited from ModelElement.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAncestor< (Of < <' (T> ) > > ) (Inherited from ModelObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetReferencesToObject (Inherited from NameableModelElement.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetAnnotation (Inherited from ModelObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Tools.Model.Simple Namespace