IRelationalModel Interface

Root class of the model hierarchy, roughly corresponds to a DataSchemaModel in SqlSchema. All models are basically built by instantiating this and associating other model objects (such as Tables) with it, etc. and populating the hierarchy, then setting meta data and registering appropriate listeners with this model.

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

Syntax

'Declaration
Public Interface IRelationalModel _
    Inherits IModel, IModelObject
'Usage
Dim instance As IRelationalModel
public interface IRelationalModel : IModel, 
    IModelObject
public interface class IRelationalModel : IModel, 
    IModelObject
type IRelationalModel =  
    interface
        interface IModel
        interface IModelObject
    end
public interface IRelationalModel extends IModel, IModelObject

The IRelationalModel type exposes the following members.

Properties

  Name Description
Public property ChildNodes Returns the contained model objects of this model object that are immediate children of it, i.e. they are values of one of this object's properties. (Inherited from IModelObject.)
Public property CurrentTransaction Gets {insert text here}. (Inherited from IModel.)
Public property DatabaseName Gets {insert text here}.
Public property ExtensionProvider Gets {insert text here}. (Inherited from IModel.)
Public property Model Gets {insert text here}. (Inherited from IModelObject.)
Public property ParentNode Returns the parent model object that contains this node (null for the root of the model object tree) (Inherited from IModelObject.)
Public property Schemas Gets {insert text here}.
Public property ServerName Gets {insert text here}.

Top

Methods

  Name Description
Public method CreateSchema
Public method CreateScript (Inherited from IModelObject.)
Public method GetMetaData< (Of < <' (T, U> ) > > )() () () () Obtain the meta data within this model instance for a particular model class and metadata type. (Inherited from IModel.)
Public method GetMetaData< (Of < <' (T, U> ) > > )(String) (Inherited from IModel.)
Public method StartTransaction (Inherited from IModel.)

Top

Events

  Name Description
Public event AfterModelChangesCommitted (Inherited from IModel.)
Public event BeforeModelChangesCommitted (Inherited from IModel.)

Top

Extension Methods

  Name Description
Public Extension Method AddAnnotation (Defined by ModelExtensions.)
Public Extension Method GetAncestor< (Of < <' (T> ) > > ) (Defined by ModelExtensions.)
Public Extension Method Tables (Defined by ModelExtensions.)
Public Extension Method TryGetAnnotation (Defined by ModelExtensions.)

Top

See Also

Reference

Microsoft.Data.Tools.Model.Relational Namespace