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 | |
---|---|---|
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.) | |
CurrentTransaction | Gets {insert text here}. (Inherited from IModel.) | |
DatabaseName | Gets {insert text here}. | |
ExtensionProvider | Gets {insert text here}. (Inherited from IModel.) | |
Model | Gets {insert text here}. (Inherited from IModelObject.) | |
ParentNode | Returns the parent model object that contains this node (null for the root of the model object tree) (Inherited from IModelObject.) | |
Schemas | Gets {insert text here}. | |
ServerName | Gets {insert text here}. |
Top
Methods
Name | Description | |
---|---|---|
CreateSchema | ||
CreateScript | (Inherited from IModelObject.) | |
GetMetaData< (Of < <' (T, U> ) > > )() () () () | Obtain the meta data within this model instance for a particular model class and metadata type. (Inherited from IModel.) | |
GetMetaData< (Of < <' (T, U> ) > > )(String) | (Inherited from IModel.) | |
StartTransaction | (Inherited from IModel.) |
Top
Events
Name | Description | |
---|---|---|
AfterModelChangesCommitted | (Inherited from IModel.) | |
BeforeModelChangesCommitted | (Inherited from IModel.) |
Top
Extension Methods
Name | Description | |
---|---|---|
AddAnnotation | (Defined by ModelExtensions.) | |
GetAncestor< (Of < <' (T> ) > > ) | (Defined by ModelExtensions.) | |
Tables | (Defined by ModelExtensions.) | |
TryGetAnnotation | (Defined by ModelExtensions.) |
Top